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, i386]: Fix typo in my previos commit


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.


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