This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, i386]: Fix typo in my previos commit
- From: "Uros Bizjak" <ubizjak at gmail dot com>
- To: "GCC Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 1 Mar 2007 11:57:00 +0100
- Subject: [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.