This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/3917
- To: gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, gbv at ctv dot es, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Subject: Re: c/3917
- From: Guillermo Ballester Valor <gbv at ctv dot es>
- Date: Tue, 07 Aug 2001 20:35:05 +0200
HI
Sorry by any inconvenience I could say. I'm a newbe here. I am the same
person who send the referenced bug. I've been seeing some assembler
outputs for IA-64. I have not seen any pair of 'mfi' boundles in the
same cycle, and it had to be in many cases.
I've searched in the gcc-code (hard-task). I've seen a suspicious code
line in 'ia64.c' routine 'itanium_split_issue'. In the current version
(7-Aug-2001 18:00 TMG) it seems there is only a F_TYPE slot permitted in
the bundle window. I think it sould be two.
Here is the patch i proposed. I'm not sure about it.
Guillermo.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3917&database=gcc
--
Guillermo Ballester Valor
gbv@ctv.es
Granada (Spain)
*** ia64.c Tue Aug 7 20:11:45 2001
--- ../gcc/gcc/gcc/config/ia64/ia64.c Mon Aug 6 19:17:28 2001
***************
*** 5053,5059 ****
enum attr_type t = (t0 == TYPE_L ? TYPE_F
: t0 == TYPE_X ? TYPE_I
: t0);
! int max = (t == TYPE_B ? 3 : t == 2);
if (type_count[t] == max)
return i;
type_count[t]++;
--- 5053,5059 ----
enum attr_type t = (t0 == TYPE_L ? TYPE_F
: t0 == TYPE_X ? TYPE_I
: t0);
! int max = (t == TYPE_B ? 3 : t == TYPE_F ? 1 : 2);
if (type_count[t] == max)
return i;
type_count[t]++;