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, commited] FIX *fscalexf4 mode attribute


Hello!

Instruction *fscalexf4 has wrong mode attribute, this patch will correct it to XF. Patch is tested by bootstraping gcc on i686-pc-linux-gnu, and is commited to mainline CVS under obvious rule.

2004-05-06 Uros Bizjak <uros@kss-loka.si>

       * config/i386/i386.md (*fscalexf4): Correct insn "mode"
       attribute to "XF".

Uros.
Index: gcc/config/i386/i386.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.md,v
retrieving revision 1.535
diff -u -p -r1.535 i386.md
--- gcc/config/i386/i386.md	6 May 2004 05:19:23 -0000	1.535
+++ gcc/config/i386/i386.md	6 May 2004 05:55:12 -0000
@@ -15914,7 +15914,7 @@
    && flag_unsafe_math_optimizations"
   "fscale"
   [(set_attr "type" "fpspc")
-   (set_attr "mode" "DF")])
+   (set_attr "mode" "XF")])
 
 (define_expand "expsf2"
   [(set (match_dup 2)

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