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 3/4, MIPS] Move clear_upper32* patterns to the and patterns


On 08/04/2009 11:18 AM, Richard Sandiford wrote:
It just doesn't feel right for a RISC target to be including
zero-extending loads in its basic AND pattern.

But maybe I'm being unreasonable.  If RTH is happy with the
patch you posted, I won't stand in its way.

I had a look around at some other ports, and you're right that other risc targets don't include the zero-extending loads. On the other hand, none of the other ports I looked at have to worry about

! ;; Combine is not allowed to convert this insn into a zero_extendsidi2 because
! ;; of TRULY_NOOP_TRUNCATION.

Frankly, I think Adam's most recent patch looks real clean.



r~



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