This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [4.0 PATCH] Tweak *truncsfdf_fast_i387 pattern in i386.md (Take2)
- From: Roger Sayle <roger at eyesopen dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Uros Bizjak <uros at kss-loka dot si>, <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 4 Apr 2005 15:50:33 -0600 (MDT)
- Subject: Re: [4.0 PATCH] Tweak *truncsfdf_fast_i387 pattern in i386.md (Take2)
On Mon, 4 Apr 2005, Richard Henderson wrote:
> On Mon, Apr 04, 2005 at 03:34:01PM -0600, Roger Sayle wrote:
> > * config/i386/i386.md (*truncdfsf_fast_i387): Enable pattern when
> > writing to memory, even when !flag_unsafe_math_optimizations.
>
> No. The constraints allow reload to screw up.
Is the first version of the patch, posted at
http://gcc.gnu.org/ml/gcc-patches/2005-04/msg00271.html
acceptable? This introduces a new duplicate pattern but with
tighter constraints, that should prevent reload from messing
things up.
Roger
--