* An alpha bug?
@ 1997-10-24 15:18 H.J. Lu
1997-10-24 16:16 ` Richard Henderson
0 siblings, 1 reply; 3+ messages in thread
From: H.J. Lu @ 1997-10-24 15:18 UTC (permalink / raw)
To: egcs; +Cc: rth
"make check" fails on alpha in tFile. It seems gp in itoa () in
libio/stream.cc has some garbage.
Does this look like a right fix?
Thanks.
--
H.J. Lu (hjl@gnu.ai.mit.edu)
---
Fri Oct 24 08:13:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
* config/alpha/alpha.c (alpha_does_function_need_gp): Also
check TYPE_IBR.
Index: config/alpha/alpha.c
===================================================================
RCS file: /home/work/cvs/gnu/egcs/gcc/config/alpha/alpha.c,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 alpha.c
--- alpha.c 1997/10/24 01:16:23 1.1.1.4
+++ alpha.c 1997/10/24 21:59:26
@@ -2311,7 +2311,7 @@
&& GET_CODE (PATTERN (insn)) != CLOBBER)
{
enum attr_type type = get_attr_type (insn);
- if (type == TYPE_LDSYM || type == TYPE_JSR)
+ if (type == TYPE_LDSYM || type == TYPE_JSR || type == TYPE_IBR)
return 1;
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: An alpha bug?
1997-10-24 16:16 ` Richard Henderson
@ 1997-10-24 16:16 ` H.J. Lu
0 siblings, 0 replies; 3+ messages in thread
From: H.J. Lu @ 1997-10-24 16:16 UTC (permalink / raw)
To: rth; +Cc: egcs
>
> On Fri, Oct 24, 1997 at 03:18:23PM -0700, H.J. Lu wrote:
> > "make check" fails on alpha in tFile. It seems gp in itoa () in
> > libio/stream.cc has some garbage.
> >
> > Does this look like a right fix?
>
> Blah. No, but this is. Aaron, see if by chance this fixes your problem.
>
It seems to work on my test case. I will know by tomorrow if it
really works.
H.J.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: An alpha bug?
1997-10-24 15:18 An alpha bug? H.J. Lu
@ 1997-10-24 16:16 ` Richard Henderson
1997-10-24 16:16 ` H.J. Lu
0 siblings, 1 reply; 3+ messages in thread
From: Richard Henderson @ 1997-10-24 16:16 UTC (permalink / raw)
To: H.J. Lu; +Cc: egcs, jackson
On Fri, Oct 24, 1997 at 03:18:23PM -0700, H.J. Lu wrote:
> "make check" fails on alpha in tFile. It seems gp in itoa () in
> libio/stream.cc has some garbage.
>
> Does this look like a right fix?
Blah. No, but this is. Aaron, see if by chance this fixes your problem.
r~
Fri Oct 24 15:54:57 1997 Richard Henderson <rth@cygnus.com>
* alpha.md (call patterns): Revert Oct 16 change; if we are to elide
the callee's ldgp, we must do it ourselves, and we use the jsr tag
for more than scheduling.
Index: config/alpha/alpha.md
===================================================================
RCS file: /cvs/cvsfiles/egcs/gcc/config/alpha/alpha.md,v
retrieving revision 1.9
diff -u -p -d -r1.9 alpha.md
--- alpha.md 1997/10/20 15:50:28 1.9
+++ alpha.md 1997/10/24 22:56:49
@@ -3289,7 +3289,7 @@
jsr $26,($27),0\;ldgp $29,0($26)
bsr $26,%0..ng
jsr $26,%0\;ldgp $29,0($26)"
- [(set_attr "type" "jsr,ibr,jsr")])
+ [(set_attr "type" "jsr")])
(define_insn ""
[(call (mem:DI (match_operand:DI 0 "call_operand" "r,i"))
@@ -3299,7 +3299,7 @@
"@
jsr $26,(%0)
bsr $26,%0"
- [(set_attr "type" "jsr,ibr")])
+ [(set_attr "type" "jsr")])
(define_insn ""
[(call (mem:DI (match_operand:DI 0 "call_operand" "r,i"))
@@ -3325,7 +3325,7 @@
jsr $26,($27),0\;ldgp $29,0($26)
bsr $26,%1..ng
jsr $26,%1\;ldgp $29,0($26)"
- [(set_attr "type" "jsr,ibr,jsr")])
+ [(set_attr "type" "jsr")])
(define_insn ""
[(set (match_operand 0 "register_operand" "=rf,rf")
@@ -3336,7 +3336,7 @@
"@
jsr $26,(%1)
bsr $26,%1"
- [(set_attr "type" "jsr,ibr")])
+ [(set_attr "type" "jsr")])
(define_insn ""
[(set (match_operand 0 "register_operand" "")
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-10-24 16:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-24 15:18 An alpha bug? H.J. Lu
1997-10-24 16:16 ` Richard Henderson
1997-10-24 16:16 ` H.J. Lu
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).