[Bug 250454] PT_GETFPREGS on i386 oversimplifies translating FPU Tag Word
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Oct 19 09:48:23 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250454
--- Comment #1 from Michał Górny <mgorny at gentoo.org> ---
Created attachment 218882
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=218882&action=edit
Proposed patch
Here's a patch based on the similar problem fixed on NetBSD.
Without the patch, the test program outputs 0x03ff, i.e.:
0000 0011 1111 1111
With the patch, it outputs 0x63ff:
0110 0011 1111 1111
Please note that I've only been able to test the compat32 version on amd64.
FreeBSD/i386 does not seem to boot on qemu for me.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list