[PATCH, i386]: Fix typo in my previos commit

Uros Bizjak ubizjak@gmail.com
Thu Mar 1 10:57:00 GMT 2007


Hello!

A typo in my previous commit is fixed by this patch.

2007-03-01  Uros Bizjak  <ubizjak@gmail.com>

	* config/i386/i386.c (ix86_modes_tieable_p): Fix typo, use also
	size of mode1 to check for tieable modes in MMX case.

Index: i386.c
===================================================================
--- i386.c      (revision 122422)
+++ i386.c      (working copy)
@@ -18792,7 +18792,7 @@
      with any other mode acceptable to MMX registers.  */
   if (GET_MODE_SIZE (mode2) == 8
       && ix86_hard_regno_mode_ok (FIRST_MMX_REG, mode2))
-    return (GET_MODE_SIZE (mode2) == 8
+    return (GET_MODE_SIZE (mode1) == 8
            && ix86_hard_regno_mode_ok (FIRST_MMX_REG, mode1));

   return false;

Uros.



More information about the Gcc-patches mailing list