diff options
author | bwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-09 23:36:39 +0000 |
---|---|---|
committer | bwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-09 23:36:39 +0000 |
commit | 2af1591ee0c5549974ede051f81378358ece951d (patch) | |
tree | b6d09dc73d96ab37f96a31b9ca82e5f18341b21a /gcc/config/xtensa | |
parent | 525cdd6aeb3a3794042034e73bc9179666c3270b (diff) | |
download | gcc-2af1591ee0c5549974ede051f81378358ece951d.tar.gz |
* config/xtensa/xtensa.c (xtensa_emit_loop_end): Only use "nop.n"
instruction if the Xtensa density option is enabled.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66649 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/xtensa')
-rw-r--r-- | gcc/config/xtensa/xtensa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c index 271409922e3..f053fd0d871 100644 --- a/gcc/config/xtensa/xtensa.c +++ b/gcc/config/xtensa/xtensa.c @@ -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) |