diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2012-03-04 21:19:43 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2012-03-04 13:19:43 -0800 |
commit | 5ca9708b1665b9dedb59db421b855e8d609dfb5d (patch) | |
tree | 68b8011e78e9a81a51c2163be51ebac171fba94b | |
parent | f57207b886fbccf06ecdcb549b1c32560ab9178c (diff) | |
download | gcc-5ca9708b1665b9dedb59db421b855e8d609dfb5d.zip gcc-5ca9708b1665b9dedb59db421b855e8d609dfb5d.tar.gz gcc-5ca9708b1665b9dedb59db421b855e8d609dfb5d.tar.bz2 |
Only handle zero-extended DImode addresses
2012-03-04 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (ix86_print_operand_address): Only handle
zero-extended DImode addresses.
From-SVN: r184899
-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 c34b1c0..486f934 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-03-04 H.J. Lu <hongjiu.lu@intel.com> + + * config/i386/i386.c (ix86_print_operand_address): Only handle + zero-extended DImode addresses. + 2012-03-04 Uros Bizjak <ubizjak@gmail.com> * config/i386/constraints.md (Ya): New internal constraint. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index d68131a..fa040a9 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -14482,7 +14482,7 @@ ix86_print_operand_address (FILE *file, rtx addr) /* Print SImode registers for zero-extended addresses to force addr32 prefix. Otherwise print DImode registers to avoid it. */ - if (TARGET_64BIT) + if (TARGET_64BIT && GET_MODE (addr) == DImode) code = ((GET_CODE (addr) == ZERO_EXTEND || GET_CODE (addr) == AND) ? 'l' |