OSDN Git Service

* pa.h (PRINT_OPERAND_ADDRESS): Output "%r0", not "r0" for the
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 May 1999 22:11:24 +0000 (22:11 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 May 1999 22:11:24 +0000 (22:11 +0000)
base register in an absolute memory address.
* pa.md (conditional moves): Avoid using immediate zero for
register zero.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26841 138bc75d-0d04-0410-961f-82ee72b054a4

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

index fc52fc1..4c02cf1 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 ca744c8..2c0f031 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 c4e065a..dbff838 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")])