[4.0 PATCH] Tweak *truncsfdf_fast_i387 pattern in i386.md (Take 2)
Roger Sayle
roger@eyesopen.com
Mon Apr 4 21:50:00 GMT 2005
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
--
More information about the Gcc-patches
mailing list