OSDN Git Service

* config/xtensa/xtensa.c (xtensa_emit_loop_end): Only use "nop.n"
authorbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 May 2003 23:36:39 +0000 (23:36 +0000)
committerbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 May 2003 23:36:39 +0000 (23:36 +0000)
        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

gcc/ChangeLog
gcc/config/xtensa/xtensa.c

index 3e1196c..20b3811 100644 (file)
@@ -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.
index 2714099..f053fd0 100644 (file)
@@ -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)