xtensa.c (xtensa_emit_loop_end): Only use "nop.n" instruction if the Xtensa density option is enabled.

* config/xtensa/xtensa.c (xtensa_emit_loop_end): Only use "nop.n"
        instruction if the Xtensa density option is enabled.

From-SVN: r66649
This commit is contained in:
Bob Wilson 2003-05-09 23:36:39 +00:00 committed by Bob Wilson
parent 886c07bcc7
commit 0bd0703d04
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-05-09 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.c (xtensa_emit_loop_end): Only use "nop.n"
instruction if the Xtensa density option is enabled.
2003-05-09 Matt Kraai <kraai@alumni.cmu.edu>
* mklibgcc.in: Remove extra quotes.

View File

@ -1636,7 +1636,7 @@ xtensa_emit_loop_end (insn, operands)
break;
case CODE_LABEL:
output_asm_insn ("nop.n", operands);
output_asm_insn (TARGET_DENSITY ? "nop.n" : "nop", operands);
done = 1;
break;
@ -1646,7 +1646,7 @@ xtensa_emit_loop_end (insn, operands)
if (GET_CODE (body) == JUMP_INSN)
{
output_asm_insn ("nop.n", operands);
output_asm_insn (TARGET_DENSITY ? "nop.n" : "nop", operands);
done = 1;
}
else if ((GET_CODE (body) != USE)