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] |
On 04/30/2010 10:57 AM, Paolo Bonzini wrote: > However, I agree with Andrew that all the information should already be > there (through the promote_function_mode hook), it's just that combine > isn't trying hard enough. Maybe something based on the attached patch? When finished, it looks like the one below. Simply setting sign_bit_copies in record_dead_and_set_regs_1 doesn't work, and rather than duplicating the bookkeeping I construct a small piece of RTL to pass to record_value_for_reg that makes it do the right thing. This works without modifying backends, but it has the drawback that it can't optimize indirect calls since we're lacking a decl for them. Testing now in progress on i686-linux. Ok (this or the previous one)? Bernd
Attachment:
pr40900-b.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |