Re: [PATCH 04/23] sim/erc32: Add FPU support on x86_64 hosts.

Mike Frysinger
2015-02-17T09:05:34Z

[-- Attachment #1: Type: text/plain, Size: 325 bytes --]

On 17 Feb 2015 08:44, Jiri Gaisler wrote:
> * float.c (get_accex) access FPU control and status words on x64

shouldn't you gut this file and use <fenv.h> instead for a portable method ?
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/fenv.h.html

at the very least, you could cut over to <fpu_control.h> ...
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]