Issue created by Sebastian Huber: 
https://gitlab.rtems.org/contrib/newlib-cygwin/-/work_items/2



Newlib has no `sys/fenv.h` and no fenv functions for microblaze, moxie and 
or1k.  These targets use the generic stubs of `libm/fenv`, so `fesetenv()` and 
the other functions return `-ENOTSUP`.  The test `psxfenv01` of RTEMS fails on 
these architectures.

GCC builds soft-float code for the RTEMS BSPs of the three targets.  The 
soft-float support of libgcc records no exception and rounds to nearest only.  
With `__or1k_hard_float__` the floating-point control status register of or1k 
holds the flags and the rounding mode, also for the soft-float support of 
libgcc.

Found while running the RTEMS test suite on simulators.  This description was 
created with Claude Code assistance.

-- 
View it on GitLab: https://gitlab.rtems.org/contrib/newlib-cygwin/-/work_items/2
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/namespace/1201/sent_notifications/5-2nk5bvzbf6qpgvmqha2cj9xgo-xd/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to