public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] Fix typo in pa.c
@ 2004-07-29 23:21 John David Anglin
  0 siblings, 0 replies; only message in thread
From: John David Anglin @ 2004-07-29 23:21 UTC (permalink / raw)
  To: gcc-patches

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";
     }
 }
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-29 17:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-29 23:21 [committed] Fix typo in pa.c John David Anglin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).