This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/29347] i386 mode switching clobbers fp exception handling bits
- From: "amylaar at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Oct 2006 16:50:41 -0000
- Subject: [Bug target/29347] i386 mode switching clobbers fp exception handling bits
- References: <bug-29347-5394@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from amylaar at gcc dot gnu dot org 2006-10-04 16:50 -------
One way to handle this problem would be to consider every function call
and asm as requiring another mode for the mode switching value entities;
no code would be emittied to actually 'set' this mode, but the mode switching
code would consider the mode switching value now to be in a different mode,
and thus insert new code to calculate the mode switching value when it is
needed again. (Instead, MODE_AFTER could be used, if someone wanted to make
it work.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29347