Re: Scheduling problem - A more detailed explain

2007-10-10 Thread 吴曦
2007/10/11, Jim Wilson <[EMAIL PROTECTED]>: Thanks for you helpful hints ! And I am sorry for such a late reply. I have figured out this problem yesterday :-). > Do we know for sure that the scheduler is failing here? Have you looked > at -da RTL dumps to verify which pass is performing the inco

Re: Scheduling problem - A more detailed explain

2007-10-10 Thread Jim Wilson
ÎâêØ wrote: Well... Is there anything I miss or forget to do ? Someone needs to step through code in a debugger and try to figure out what is going wrong. I made an initial attempt at that. I hacked gcc a little to try to force a failure with a contrived testcase. The first thing I notice

Re: Scheduling problem - A more detailed explain

2007-10-08 Thread 吴曦
"rws_access_reg should be handling this correctly. It uses HARD_REGNO_NREGS to get the number of regs referred to by a reg rtl. So it should return 64 in this case, and then it will iterate over all 64-bit PR regs when checking for a dependency." I have found HARD_REGNO_NREGS in ia64.h #define HA

Re: Scheduling problem - A more detailed explain

2007-10-08 Thread Jim Wilson
Ô¬Á¢Íþ wrote: So, my question becomes clear: How to solve this problem by making GCC knows the data dependencies between mov X = pr (or mov pr = X, -1) and other usage of a specific predicate register (e.g. p6, p7)? We already have support for these move instructions. See the movdi_internal p

Scheduling problem - A more detailed explain

2007-10-08 Thread 袁立威
Hi, I'm working on IA64 with GCC-4.1.1; what I do is to instrument some sensitive instructions (e.g. memory access) to do information flow tracking. As I insert the instrumentation after register allocation, I need to allocate general registers and predicates myself; for corner cases in allocatio

scheduling problem-a more detailed explain

2007-10-08 Thread 袁立威
Hi, I'm working on IA64 with GCC-4.1.1; what I do is to instrument some sensitive instructions (e.g. memory access) to do information flow tracking. As I insert the instrumentation after register allocation, I need to allocate general registers and predicates myself; for corner cases in allocatio

Scheduling problem

2007-10-08 Thread 袁立威
Hi, everyone I'm a guy working on IA64 with gcc version 4.1.1, and I need to do some instrumentation to do information flow tracking. Instrumentation is insert after register allocation and before the second scheduling, I suppose gcc will automatic maintain data flow, and it seems to be except on

Re: gcc.dg/sms-antideps.c fails on IA64 (modulo scheduling problem)

2007-08-17 Thread Revital1 Eres
[EMAIL PROTECTED] wrote on 18/08/2007 03:19:48: > I noticed that gcc.dg/sms-antideps.c is failing on my IA64 Linux and > HP-UX platforms. The failure is: > > x.c: In function 'foo': > x.c:25: internal compiler error: in gen_sub2_insn, at optabs.c:4640 > Please submit a full bug report, > with p

Re: gcc.dg/sms-antideps.c fails on IA64 (modulo scheduling problem)

2007-08-17 Thread Ian Lance Taylor
Steve Ellcey <[EMAIL PROTECTED]> writes: > I noticed that gcc.dg/sms-antideps.c is failing on my IA64 Linux and > HP-UX platforms. The failure is: > > x.c: In function 'foo': > x.c:25: internal compiler error: in gen_sub2_insn, at optabs.c:4640 > Please submit a full bug report, > with preproces

gcc.dg/sms-antideps.c fails on IA64 (modulo scheduling problem)

2007-08-17 Thread Steve Ellcey
I noticed that gcc.dg/sms-antideps.c is failing on my IA64 Linux and HP-UX platforms. The failure is: x.c: In function 'foo': x.c:25: internal compiler error: in gen_sub2_insn, at optabs.c:4640 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.h