diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-01-04 04:38:31 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-01-04 04:38:31 +0100 |
commit | d3e54ff2d9039c67f6fe7d99349e1c83b696b7ae (patch) | |
tree | 76b38a54a03048c24afa54207e556b41b8870d7d /sys/src/9 | |
parent | 743f65c87892adb12a7df0f91ac080e81cd77b21 (diff) |
pc kernel: fix wrong simd exception mask (fixes go bootstrap)
Diffstat (limited to 'sys/src/9')
-rw-r--r-- | sys/src/9/pc/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/pc/main.c b/sys/src/9/pc/main.c index 6dbf76a3e..fa4d9be9d 100644 --- a/sys/src/9/pc/main.c +++ b/sys/src/9/pc/main.c @@ -527,7 +527,7 @@ mathemu(Ureg *ureg, void*) case FPinit: fpinit(); if(fpsave == fpssesave) - ldmxcsr(0); /* no simd exceptions on 386 */ + ldmxcsr(0x1f80); /* no simd exceptions on 386 */ while(up->fpsave == nil) up->fpsave = mallocalign(sizeof(FPsave), FPalign, 0, 0); up->fpstate = FPactive; |