From: Nick Burrett Date: Mon, 26 Apr 1999 23:42:11 +0000 (+0000) Subject: arm.md (nop): Output instruction using output_asm_insn to fix assembler dialect problems. X-Git-Tag: prereleases/gcc-2.95-test~732 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a6fc514baf2faffa3fdf393e75922510f125823;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c066ff5ad53d..1cc83d655448 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Apr 27 00:36:44 1999 Nick Burrett + + * arm.md (nop): Output instruction using output_asm_insn to fix + assembler dialect problems. + Mon Apr 26 23:55:50 1999 Robert Lipe * Makefile.in (fixinc.sh): Fix dependencies. diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index 174b00b72a91..cf132bc0af5a 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -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