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,AVR]: Clean-up loading HI constants.


2011/9/25 Georg-Johann Lay <avr@gjlay.de>:
> This is just a code clean-up that deals with loading 16-bit constants (HImode).
>
> o Length adjustment is triggered by insn attribute "adjust_len"
>
> o To print the constant output_movhi can use output_reload_inhi
>
> o output_reload_inhi can use the same function as output_reload_insisf uses,
> Âjust a small change is needed when handling (reg:SI/SF 14)
>
> o That function can use avr_popcount_each_byte to detect if scratch needed
>
> o avr_popcount_each_byte is extended to handle float mode for that
>
> Passed without regression.
>
> Ok to install?

Please, commit.

Denis.


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