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]

[PATCH] add split condition to *fix_trunchi_1


Hello!

A split condition is missing in *fix_trunchi_1 pattern. This obvious one-liner adds the same split condition as it is in *fix_truncsi_1 pattern.

2004-11-10 Uros Bizjak <uros@kss-loka.si>

   * config/i386/i386.md (*fix_trunchi_1): Add missing "&& 1"
   to split constraint.

Uros.

Index: i386.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.md,v
retrieving revision 1.562
diff -u -p -r1.562 i386.md
--- i386.md	18 Oct 2004 13:01:31 -0000	1.562
+++ i386.md	10 Nov 2004 07:16:15 -0000
@@ -4405,7 +4405,7 @@
    && !reload_completed && !reload_in_progress
    && !SSE_FLOAT_MODE_P (GET_MODE (operands[1]))"
   "#"
-  ""
+  "&& 1"
   [(const_int 0)]
 {
   ix86_optimize_mode_switching = 1;

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