[committed] Fix typo in pa.c
John David Anglin
dave@hiauly1.hia.nrc.ca
Thu Jul 29 23:21:00 GMT 2004
I noticed the following type looking though the PA backend for "bl"
instructions. "bl" requires the specification of a link register.
There had been a suggestion that we were incorrectly using "bl"
instead of "b,l" on hppa64 for calls.
Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
2004-07-29 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* pa.c (output_movb): Correct typo.
Index: config/pa/pa.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/pa/pa.c,v
retrieving revision 1.266
diff -u -3 -p -r1.266 pa.c
--- config/pa/pa.c 20 Jul 2004 19:52:10 -0000 1.266
+++ config/pa/pa.c 29 Jul 2004 15:13:23 -0000
@@ -6951,7 +6951,7 @@ output_movb (rtx *operands, rtx insn, in
if (get_attr_length (insn) == 8)
return "{comb|cmpb},%S2 %%r0,%1,%3\n\tmtsar %r1";
else
- return "{comclr|cmpclr},%B2 %%r0,%1,%%r0\n\tbl %3\n\tmtsar %r1";
+ return "{comclr|cmpclr},%B2 %%r0,%1,%%r0\n\tb %3\n\tmtsar %r1";
}
}
More information about the Gcc-patches
mailing list