diff options
| author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-01 10:54:52 +0000 |
|---|---|---|
| committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-01 10:54:52 +0000 |
| commit | af0b4c3228b32c90cf61393bb3be2485ba498325 (patch) | |
| tree | b17ebdece7800fdd3aaab313f6038a1267db7f1e | |
| parent | e0ab7256e1c84a0593544d433cacaa2e43d7fab7 (diff) | |
| download | ppe42-gcc-af0b4c3228b32c90cf61393bb3be2485ba498325.tar.gz ppe42-gcc-af0b4c3228b32c90cf61393bb3be2485ba498325.zip | |
* config/i386/i386.c (ix86_modes_tieable_p): Fix typo, use also
size of mode1 to check for tieable modes in MMX case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122429 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/i386/i386.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 120d963081d..1a6be7b3794 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index c0208301afd..935f3df7151 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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; |

