Commit 84bf8c2c by Bob Wilson Committed by Bob Wilson

xtensa.c (print_operand): Fix incorrect mode passed to adjust_address.

        * config/xtensa/xtensa.c (print_operand): Fix incorrect mode
        passed to adjust_address.  Fix comment formatting.

From-SVN: r51215
parent acb044ee
2002-03-22 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.c (print_operand): Fix incorrect mode
passed to adjust_address. Fix comment formatting.
2002-03-22 Zack Weinberg <zack@codesourcery.com>
* real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE.
......
......@@ -1926,10 +1926,8 @@ print_operand (file, op, letter)
}
case MEM:
/*
* For a volatile memory reference, emit a MEMW before the
* load or store.
*/
/* For a volatile memory reference, emit a MEMW before the
load or store. */
if (letter == 'v')
{
if (MEM_VOLATILE_P (op) && TARGET_SERIALIZE_VOLATILE)
......@@ -1937,7 +1935,16 @@ print_operand (file, op, letter)
break;
}
else if (letter == 'N')
op = adjust_address (op, GET_MODE (op), 4);
{
enum machine_mode mode;
switch (GET_MODE (op))
{
case DFmode: mode = SFmode; break;
case DImode: mode = SImode; break;
default: abort ();
}
op = adjust_address (op, mode, 4);
}
output_address (XEXP (op, 0));
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment