Commit 93de7743 by Uros Bizjak Committed by Uros Bizjak

i386.c (ix86_modes_tieable_p): Fix typo, use also size of mode1 to check for…

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

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

From-SVN: r122429
parent 7ffb5e78
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.
2007-03-01 Richard Sandiford <richard@codesourcery.com>
* Makefile.in (rtlanal.o): Depend on tree.h.
......
......@@ -18792,7 +18792,7 @@ ix86_modes_tieable_p (enum machine_mode mode1, enum machine_mode mode2)
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment