This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]