From 81a1c8c397b596fe7cb87338b32d189aa1bce270 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Sat, 8 May 1999 22:11:24 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 7 +++++++ gcc/config/pa/pa.h | 2 +- gcc/config/pa/pa.md | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fc52fc1b11e5..4c02cf14d929 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 Based on patch by Scott Bambrough: diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index ca744c8e795f..2c0f0311100d 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -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); \ diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md index c4e065a390ef..dbff838a4e23 100644 --- a/gcc/config/pa/pa.md +++ b/gcc/config/pa/pa.md @@ -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")]) -- 2.43.5