This is the mail archive of the
mailing list for the GCC project.
Re: PR 17104
>>>>> Nathan Sidwell writes:
Nathan> I too recently copied the ARM zero_extend idiom to a new design, but
Nathan> later found it broke in exactly the way ppc is breaking. AFAICT, as
Nathan> long as there's a pattern to match
Nathan> (set (reg) (zero_extend (mem (reg))))
Nathan> combine will combine as needed.
Okay, go ahead with the patch.
Nathan> What is the purpose of LOAD_EXTEND_OP if one has to explicitly wrap
Nathan> loads with ZERO_EXTENDs?
What an optimist! :)