This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [PATCH] Exploiting dual mode operation, implementation.


On Sun, Jul 31, 2005 at 06:30:46PM +0300, Leehod Baruch wrote:
> In other words, Is it good enough to handle only webs that has one type 
> of extension (SIGN_EXTEND or ZERO_EXTEND and

Yes.

> only one pair of modes for source and dest of the extension)?

I'm not sure this is difficult at all.  Extend to the max mode,
when all modes are not larger than word_mode.  Extensions to 
larger modes generally aren't free, and so aren't really the
target of your operation.

> In order to make the gcse/lcm work I need that the sign-extension 
> source will be of the same register.

Ah, so it'd be fixed if you set up the lcm yourself, as suggested.



r~


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