pa.h (PRINT_OPERAND_ADDRESS): Output "%r0", not "r0" for the base register in an...
authorJeffrey A Law <law@cygnus.com>
Sat, 8 May 1999 22:11:24 +0000 (22:11 +0000)
committerJeff Law <law@gcc.gnu.org>
Sat, 8 May 1999 22:11:24 +0000 (16:11 -0600)
* pa.h (PRINT_OPERAND_ADDRESS): Output "%r0", not "r0" for the
base register in an absolute memory address.
* pa.md (conditional moves): Avoid using immediate zero for
register zero.

From-SVN: r26841

gcc/ChangeLog
gcc/config/pa/pa.h
gcc/config/pa/pa.md

index fc52fc1b11e5c11c70c3534e0dba245bcd87cf56..4c02cf14d929bd90d18d8387bdb8232bbca8c458 100644 (file)
@@ -1,3 +1,10 @@
+Sat May  8 23:05:35 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * pa.h (PRINT_OPERAND_ADDRESS): Output "%r0", not "r0" for the
+       base register in an absolute memory address.
+       * pa.md (conditional moves): Avoid using immediate zero for
+       register zero.
+
 Sat May  8 06:23:21 1999  Philip Blundell  <pb@nexus.co.uk>
 
        Based on patch by Scott Bambrough:
index ca744c8e795fa5fb9c4581314771968335cf90a0..2c0f0311100d04d84e23f2817d86fb046643d4a9 100644 (file)
@@ -2476,7 +2476,7 @@ DTORS_SECTION_FUNCTION
       fputs (")", FILE);                                               \
       break;                                                           \
     case CONST_INT:                                                    \
-      fprintf (FILE, "%d(%r0)", INTVAL (addr));                                \
+      fprintf (FILE, "%d(%%r0)", INTVAL (addr));                       \
       break;                                                           \
     default:                                                           \
       output_addr_const (FILE, addr);                                  \
index c4e065a390ef223b833dc3b9c2ca2732f9ad7e29..dbff838a4e232944e8cd58f8c251372163fe2725 100644 (file)
   "@
   comclr,> %2,%0,%%r0\;copy %2,%0
   comiclr,> %2,%0,%%r0\;ldi %2,%0
-  comclr,> %1,%2,%0\;copy %1,%0"
+  comclr,> %1,%r2,%0\;copy %1,%0"
 [(set_attr "type" "multi,multi,multi")
  (set_attr "length" "8,8,8")])
 
   "@
   comclr,< %2,%0,%%r0\;copy %2,%0
   comiclr,< %2,%0,%%r0\;ldi %2,%0
-  comclr,< %1,%2,%0\;copy %1,%0"
+  comclr,< %1,%r2,%0\;copy %1,%0"
 [(set_attr "type" "multi,multi,multi")
  (set_attr "length" "8,8,8")])