aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Burrett <nick.burrett@btinternet.com>1999-05-13 00:38:09 +0000
committerJeff Law <law@gcc.gnu.org>1999-05-12 18:38:09 -0600
commitf7af5035b78f5b572f61be70270837e51ae820ef (patch)
treeba72102a2231132a618974d5b65be44349f43dcd
parent13c07aef789f90a9ff1e8c8842bb4a4a169733b9 (diff)
downloadgcc-f7af5035b78f5b572f61be70270837e51ae820ef.zip
gcc-f7af5035b78f5b572f61be70270837e51ae820ef.tar.gz
gcc-f7af5035b78f5b572f61be70270837e51ae820ef.tar.bz2
arm.md (nop): Backout Apr 27 change.
* arm.md (nop): Backout Apr 27 change. Ensure REGISTER_PREFIX is applied to each register. * aof.h (ASM_FILE_START): Define register `r0'. From-SVN: r26914
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/arm/aof.h1
-rw-r--r--gcc/config/arm/arm.md10
3 files changed, 8 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ebba04c..688bfe4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+Thu May 13 01:31:19 1999 Nick Burrett <nick.burrett@btinternet.com>
+
+ * arm.md (nop): Backout Apr 27 change. Ensure REGISTER_PREFIX is
+ applied to each register.
+ * aof.h (ASM_FILE_START): Define register `r0'.
+
1999-05-12 20:22 -0400 Zack Weinberg <zack@rabi.columbia.edu>
* configure.in: Make --enable-cpp and --with-cpp-install-dir
diff --git a/gcc/config/arm/aof.h b/gcc/config/arm/aof.h
index d0bc692..43518bc 100644
--- a/gcc/config/arm/aof.h
+++ b/gcc/config/arm/aof.h
@@ -177,6 +177,7 @@ do { \
extern char *version_string; \
fprintf ((STREAM), "%s Generated by gcc %s for ARM/%s\n", \
ASM_COMMENT_START, version_string, ARM_OS_NAME); \
+ fprintf ((STREAM), "__r0\tRN\t0\n"); \
fprintf ((STREAM), "__a1\tRN\t0\n"); \
fprintf ((STREAM), "__a2\tRN\t1\n"); \
fprintf ((STREAM), "__a3\tRN\t2\n"); \
diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md
index 5696e11..17ffedb 100644
--- a/gcc/config/arm/arm.md
+++ b/gcc/config/arm/arm.md
@@ -4426,15 +4426,7 @@
(define_insn "nop"
[(const_int 0)]
""
- "*
-{
- rtx operands[1];
-
- operands[0] = gen_rtx (REG, SImode, 0);
- output_asm_insn (\"mov%?\\t%0, %0\\t%@ nop\", operands);
- return \"\";
-}
-")
+ "mov%?\\t%|r0, %|r0\\t%@ nop")
;; Patterns to allow combination of arithmetic, cond code and shifts