4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-09 02:29:07 +08:00
Takashi Yano ea01b87f0f Cygwin: cygfe: Fix a bug that signal handler destroys fpu states
Previously, sigfe had a long-standing problem that the signal handler
destroys fpu states. This is caused by fninit instruction in sigdelayed.
With this patch, instead of fnstcw/fldcw and fninit, fnstenv/fldenv
are used to maintain fpu states.
Addresses: https://cygwin.com/pipermail/cygwin/2024-October/256503.html

Fixes: ed89fbc3ff11 ("* gendef (sigdelayed (x86_64)): Save and restore FPU control word.")
Reported-by: Christian Franke <Christian.Franke@t-online.de>
Reviewed-by:
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
2024-11-01 04:59:11 +09:00
..
2024-10-31 13:16:17 +01:00
2024-08-25 11:59:29 +02:00
2022-08-04 20:54:09 +02:00
2024-02-21 20:00:59 +01:00
2021-11-10 20:16:15 -05:00
2022-08-04 22:13:59 +02:00
2023-02-25 16:12:51 +01:00
2022-08-04 22:13:59 +02:00
2024-01-15 12:52:56 +01:00
2024-01-23 09:49:02 +01:00
2023-11-05 17:01:43 +01:00
2022-08-04 15:16:48 +02:00
2022-05-29 17:45:52 -04:00
2022-08-04 22:13:59 +02:00
2022-05-29 17:45:52 -04:00
2022-08-04 22:13:59 +02:00
2022-05-29 17:45:52 -04:00
2022-08-04 22:13:59 +02:00
2022-05-29 17:45:52 -04:00
2024-01-15 12:52:56 +01:00
2022-08-04 22:13:59 +02:00
2024-09-12 10:57:24 -04:00
2022-08-04 22:13:59 +02:00