x87 status word size
x87 status word size
- Subject: x87 status word size
- From: Jonas Maebe <email@hidden>
- Date: Mon, 15 Jun 2009 20:11:20 +0200
Hello,
Why is the x87 tag word field (__fpu_ftw) in _STRUCT_X86_FLOAT_STATE32
in osfmk/mach/i386/_structs.h only 8 bits? The hardware tag word is 16
bit. I guess it "overflows" into the next "__fpu_rsrv1" field when
saving/restoring the fpu state, so in practice it probably doesn't
really matter as long as you don't directly access it (but I would
like to do so, to reset the fpu state within a signal handler).
Thanks,
Jonas
(I asked this question 2 months back on darwin-dev, but didn't get a
reply; maybe someone here knows)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden