From 0bd0703d045e46b570b3358f212b1d29223a8c7c Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Fri, 9 May 2003 23:36:39 +0000 Subject: 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 --- gcc/ChangeLog | 5 +++++ gcc/config/xtensa/xtensa.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'gcc') 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 + + * 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 * 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) -- cgit v1.1