public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, i386]: Fix typo in my previos commit
@ 2007-03-01 10:57 Uros Bizjak
  0 siblings, 0 replies; only message in thread
From: Uros Bizjak @ 2007-03-01 10:57 UTC (permalink / raw)
  To: GCC Patches

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-01 10:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-01 10:57 [PATCH, i386]: Fix typo in my previos commit Uros Bizjak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).