public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Can GCC scheduler take advantage of mutually exclusive  predicated blocks?
@ 2009-07-07  9:22 Bingfeng Mei
  2009-07-07 16:28 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Bingfeng Mei @ 2009-07-07  9:22 UTC (permalink / raw)
  To: gcc

Hello,
Our GCC port & VLIW target processor support predication. However, I don't
see the GCC schedule two mutually exclusive blocks (from IF and ELSE ) in
a way that they are independent from each other. 

I am wondering if this is a problem of our porting and I missed some tricks
, or it is current limitation of GCC. 

Thanks,
Bingfeng Mei

Broadcom Uk

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Can GCC scheduler take advantage of mutually exclusive  predicated  blocks?
  2009-07-07  9:22 Can GCC scheduler take advantage of mutually exclusive predicated blocks? Bingfeng Mei
@ 2009-07-07 16:28 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2009-07-07 16:28 UTC (permalink / raw)
  To: Bingfeng Mei; +Cc: gcc

On 07/07/2009 02:21 AM, Bingfeng Mei wrote:
> Hello,
> Our GCC port&  VLIW target processor support predication. However, I don't
> see the GCC schedule two mutually exclusive blocks (from IF and ELSE ) in
> a way that they are independent from each other.
>
> I am wondering if this is a problem of our porting and I missed some tricks
> , or it is current limitation of GCC.

It can, but the test is fairly weak.  See conditions_mutex_p in
sched-deps.c.  This could probably be enhanced...


r~

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-07 16:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-07  9:22 Can GCC scheduler take advantage of mutually exclusive predicated blocks? Bingfeng Mei
2009-07-07 16:28 ` Richard Henderson

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).