arm.md (nop): Output instruction using output_asm_insn to fix assembler dialect problems.

* arm.md (nop): Output instruction using output_asm_insn to fix
        assembler dialect problems.

From-SVN: r26667
This commit is contained in:
Nick Burrett 1999-04-26 23:42:11 +00:00 committed by Jeff Law
parent 5d55e5cda6
commit 6a6fc514ba
2 changed files with 14 additions and 1 deletions

View 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.

View File

@ -4420,7 +4420,15 @@
(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 \"\";
}
")
;; Patterns to allow combination of arithmetic, cond code and shifts