summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 3e1196c3033..20b38112db8 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 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)