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
This commit is contained in:
H.J. Lu 2012-03-04 21:19:43 +00:00 committed by H.J. Lu
parent f57207b886
commit 5ca9708b16
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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'