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 | |
| parent | 525cdd6aeb3a3794042034e73bc9179666c3270b (diff) | |
| download | ppe42-gcc-2af1591ee0c5549974ede051f81378358ece951d.tar.gz ppe42-gcc-2af1591ee0c5549974ede051f81378358ece951d.zip | |
* 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
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/xtensa/xtensa.c | 4 |
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) |

