This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: c/3917


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]++;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]