Comparing behavior of test-fesetenv.c on AMD Opterons and Intel Xeons: running FNSTENV on Opteron -- should it zero out __x87.__other?

Garrett Cooper yaneurabeya at gmail.com
Thu Oct 8 09:14:14 UTC 2015


> On Oct 8, 2015, at 01:06, Konstantin Belousov <kostikbel at gmail.com> wrote:
> 
>> On Thu, Oct 08, 2015 at 12:38:15AM -0700, Garrett Cooper wrote:

...

>> Hi kib!
>> 
>> Ok -- that's what my gut was telling me when I was reading the spec, but I needed a second opinion. Interesting how Intel leaves the __other field alone and AMD [opterons] don't ;/..
> 
> Your statement does not make any sense.  Re-read what I tell above.
> The __other field is not written by code, the code does not change
> by the matter of being run on Intel or AMD processors.  It just happens
> so that on one of your system the stack are seems to be zero, while on
> another, it does not.

I thought __other corresponded to C0-C3 based on my read of the spec -- is that incorrect?
Thanks!


More information about the freebsd-hackers mailing list