diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-05-25 22:44:19 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-05-25 22:44:19 +0200 |
commit | 96511b274de06c994597e45236730fee324fd15f (patch) | |
tree | 7506288731db1761e31b0b2069349cb9b115fd6d /sys/src/9/pc/dat.h | |
parent | 8b40eecea8905cd70b240df77b0f30814a2adf73 (diff) |
kernel: fix floating point exceptions (was broken by sse kernel changes)
the fpenv() instruction stores in x87 format, using mathstate()
would interpret fpsave as FPssestate in case it was enabled!
instead, pass the status word and fppc explicitely to mathnote()
in matherror().
get rid of m->fpsavealign buffer, as we can just use FPssesave struct
which has enougth padding so rounding up base pointer will not overflow.
Diffstat (limited to 'sys/src/9/pc/dat.h')
-rw-r--r-- | sys/src/9/pc/dat.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/src/9/pc/dat.h b/sys/src/9/pc/dat.h index 030109433..e8d422414 100644 --- a/sys/src/9/pc/dat.h +++ b/sys/src/9/pc/dat.h @@ -256,7 +256,6 @@ struct Mach uvlong tscticks; int pdballoc; int pdbfree; - FPsave *fpsavalign; vlong mtrrcap; vlong mtrrdef; |