I' should add that the host system is a Mac running OS X 10.5.7.

Slava

On Thu, Oct 1, 2009 at 7:05 PM, Slava Pestov <[email protected]> wrote:
> Hi all,
>
> Running this program in an OpenBSD 4.5 guest kernel panics the guest
> (compile with gcc -msse2 test.c):
>
> -----
> #include <xmmintrin.h>
> #include <stdio.h>
>
> int main()
> {
>        _MM_SET_EXCEPTION_MASK(_MM_GET_EXCEPTION_MASK() & 
> ~(_MM_MASK_DIV_ZERO));
>        double a = 1.0;
>        double b = 0.0;
>        __asm__("divsd %1, %0" : "+x" (a) : "x" (b));
>        printf("%f\n",a);
>        return 0;
> }
> -----
>
> This doesn't happen on a real machine running OpenBSD so it looks like
> a bug in VirtualBox.
>
> Any thoughts?
>
> Slava
>

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to