arm.md (nop): Output instruction using output_asm_insn to fix assembler dialect problems.
authorNick Burrett <nick.burrett@btinternet.com>
Mon, 26 Apr 1999 23:42:11 +0000 (23:42 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 26 Apr 1999 23:42:11 +0000 (17:42 -0600)
        * arm.md (nop): Output instruction using output_asm_insn to fix
        assembler dialect problems.

From-SVN: r26667

gcc/ChangeLog
gcc/config/arm/arm.md

index c066ff5ad53de25db4ab7d78aa923f2f45cba301..1cc83d655448c96e3d2798a001538560a12ef251 100644 (file)
@@ -1,3 +1,8 @@
+Tue Apr 27 00:36:44 1999  Nick Burrett  <nick.burrett@btinternet.com>
+
+       * arm.md (nop): Output instruction using output_asm_insn to fix
+       assembler dialect problems.
+
 Mon Apr 26 23:55:50 1999  Robert Lipe  <robertlipe@usa.net>
 
        * Makefile.in (fixinc.sh): Fix dependencies.
index 174b00b72a9180d298636d2ea77d655906d34260..cf132bc0af5ad7d638697af12960017e999b3df6 100644 (file)
 (define_insn "nop"
   [(const_int 0)]
   ""
-  "mov%?\\tr0, r0\\t%@ nop")
+  "*
+{
+  rtx operands[1];
+
+  operands[0] = gen_rtx (REG, SImode, 0);
+  output_asm_insn (\"mov%?\\t%0, %0\\t%@ nop\", operands);
+  return \"\";
+}
+")
 \f
 ;; Patterns to allow combination of arithmetic, cond code and shifts