i386.c (print_operand): Don't append ATT-style length suffixs to x87 opcodes when in Intel mode.

* config/i386/i386.c (print_operand): Don't append ATT-style
        length suffixs to x87 opcodes when in Intel mode.

From-SVN: r50075
This commit is contained in:
Kelley Cook 2002-02-26 16:29:00 -08:00 committed by Richard Henderson
parent ff88fe1035
commit 831c4e87d0
2 changed files with 74 additions and 66 deletions

View file

@ -1,3 +1,8 @@
2002-02-26 Kelley Cook <kelleycook@comcast.net>
* config/i386/i386.c (print_operand): Don't append ATT-style
length suffixs to x87 opcodes when in Intel mode.
2002-02-26 Ryan T. Sammartino <ryants@shaw.ca>
* emit-rtl.c (gen_const_vector_0): Remove TYPE argument.

View file

@ -5731,11 +5731,14 @@ print_operand (file, x, code)
case 'z':
/* 387 opcodes don't get size suffixes if the operands are
registers. */
if (STACK_REG_P (x))
return;
/* this is the size of op from size of operand */
/* Likewise if using Intel opcodes. */
if (ASSEMBLER_DIALECT == ASM_INTEL)
return;
/* This is the size of op from size of operand. */
switch (GET_MODE_SIZE (GET_MODE (x)))
{
case 2: