pa.h (PRINT_OPERAND_ADDRESS): Output "%r0", not "r0" for the base register in an absolute memory address.

* 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
This commit is contained in:
Jeffrey A Law 1999-05-08 22:11:24 +00:00 committed by Jeff Law
parent a3af74c453
commit 81a1c8c397
3 changed files with 10 additions and 3 deletions

View 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:

View 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); \

View File

@ -791,7 +791,7 @@
"@
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")])
@ -814,7 +814,7 @@
"@
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")])