From: Nick Burrett Date: Thu, 13 May 1999 00:38:09 +0000 (+0000) Subject: arm.md (nop): Backout Apr 27 change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f7af5035b78f5b572f61be70270837e51ae820ef;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ebba04c9219..688bfe44e36 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Thu May 13 01:31:19 1999 Nick Burrett + + * 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 * 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 d0bc692d640..43518bc92d4 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 5696e11c302..17ffedba1d2 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