diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2007-02-25 00:29:30 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2007-02-25 00:29:30 +0100 |
commit | 730130547b54b4eca9ae41761b860264a04abcdf (patch) | |
tree | 4783f9af39ea863367329ab8a61a1db1162f1ff3 | |
parent | c88fc50c24a53e21d98ea76105adf214c13420bd (diff) | |
download | gcc-730130547b54b4eca9ae41761b860264a04abcdf.zip gcc-730130547b54b4eca9ae41761b860264a04abcdf.tar.gz gcc-730130547b54b4eca9ae41761b860264a04abcdf.tar.bz2 |
re PR target/30770 (BOOT_CFLAGS="-O2 -g -mtune=nocona" miscompiled the stage 3 compiler)
PR target/30770
* config/i386/i386.md (expand_movmem_epilogue): Fix typo, mask
count argument with 0x10, not with 0x16.
(expand_setmem_epilogue): Ditto.
From-SVN: r122301
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e05b854..10a65c0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2007-02-24 Uros Bizjak <ubizjak@gmail.com> + + PR target/30770 + * config/i386/i386.md (expand_movmem_epilogue): Fix typo, mask + count argument with 0x10, not with 0x16. + (expand_setmem_epilogue): Ditto. + 2007-02-24 Mike Stump <mrs@apple.com> * config/i386/i386.c (output_pic_addr_const): Stubify optimized diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 5acf121..db07441 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -13538,7 +13538,7 @@ expand_movmem_epilogue (rtx destmem, rtx srcmem, HOST_WIDE_INT countval = INTVAL (count); int offset = 0; - if ((countval & 0x16) && max_size > 16) + if ((countval & 0x10) && max_size > 16) { if (TARGET_64BIT) { @@ -13691,7 +13691,7 @@ expand_setmem_epilogue (rtx destmem, rtx destptr, rtx value, rtx count, int max_ HOST_WIDE_INT countval = INTVAL (count); int offset = 0; - if ((countval & 0x16) && max_size > 16) + if ((countval & 0x10) && max_size > 16) { if (TARGET_64BIT) { |