aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2003-05-09 23:36:39 +0000
committerBob Wilson <bwilson@gcc.gnu.org>2003-05-09 23:36:39 +0000
commit0bd0703d045e46b570b3358f212b1d29223a8c7c (patch)
treeb6d09dc73d96ab37f96a31b9ca82e5f18341b21a
parent886c07bcc7d1cd0d7159dcba88df6161b7f4b156 (diff)
downloadgcc-0bd0703d045e46b570b3358f212b1d29223a8c7c.zip
gcc-0bd0703d045e46b570b3358f212b1d29223a8c7c.tar.gz
gcc-0bd0703d045e46b570b3358f212b1d29223a8c7c.tar.bz2
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/xtensa/xtensa.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3e1196c..20b3811 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c
index 2714099..f053fd0 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)