This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix i386 FP_TRAPPING_EXCEPTIONS
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Richard Henderson <rth at redhat dot com>, Jan Hubicka <hubicka at ucw dot cz>, Jim Wilson <wilson at tuliptree dot org>, <sellcey at mips dot com>
- Date: Mon, 22 Sep 2014 11:09:04 +0000
- Subject: Re: Fix i386 FP_TRAPPING_EXCEPTIONS
- Authentication-results: sourceware.org; auth=none
- References: <Pine dot LNX dot 4 dot 64 dot 1409171944140 dot 17727 at digraph dot polyomino dot org dot uk> <CAFULd4ag9KnmRL7nZjwparbtFEVL+8+1kACSg22+FpcKvCpbvg at mail dot gmail dot com> <Pine dot LNX dot 4 dot 64 dot 1409181205280 dot 13392 at digraph dot polyomino dot org dot uk> <Pine dot LNX dot 4 dot 64 dot 1409191639570 dot 11496 at digraph dot polyomino dot org dot uk>
On Fri, 19 Sep 2014, Joseph S. Myers wrote:
> On Thu, 18 Sep 2014, Joseph S. Myers wrote:
>
> > On Thu, 18 Sep 2014, Uros Bizjak wrote:
> >
> > > OK for mainline and release branches.
> >
> > I've omitted ia64 from the targets in the testcase in the release branch
> > version, given the lack of any definition of FP_TRAPPING_EXCEPTIONS at all
> > there.
> >
> > (I think a definition as (~_fcw & 0x3f) should work for ia64, but haven't
> > tested that.)
>
> Here is an *untested* patch with that definition.
>
> 2014-09-19 Joseph Myers <joseph@codesourcery.com>
>
> PR target/63312
> * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
> New macros.
Now committed after Andreas's testing reporting in PR 63312.
--
Joseph S. Myers
joseph@codesourcery.com