aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNick Burrett <nick.burrett@btinternet.com>1999-04-26 23:42:11 +0000
committerJeff Law <law@gcc.gnu.org>1999-04-26 17:42:11 -0600
commit6a6fc514baf2faffa3fdf393e75922510f125823 (patch)
tree722ce0b9c11f2ba4b147e61121a44d36ee9d1e4a /gcc
parent5d55e5cda68eefc03750b5d3021349982f490a58 (diff)
downloadgcc-6a6fc514baf2faffa3fdf393e75922510f125823.zip
gcc-6a6fc514baf2faffa3fdf393e75922510f125823.tar.gz
gcc-6a6fc514baf2faffa3fdf393e75922510f125823.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/arm.md10
2 files changed, 14 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c066ff5..1cc83d6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md
index 174b00b..cf132bc 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