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 load non-integer constants


2011/11/7 Georg-Johann Lay <avr@gjlay.de>:
> This is a patch that cleans up the code for loading CONST or SYMBOL_REF into a
> register.
>
> This code is also needed to be able to load symbols into PSImode registers.
>
> Up to now, this is not needed because there are no 24-bit symbols yet, but it
> is needed for 24-bit address spaces.
>
> Fiddling with 8- and 16-bit constants can all use the generic code in
> output_reload_in_const.
>
> Passed without regressions.
>
> Ok for trunk?
>
> Johann
>
> Â Â Â Â* config/avr/avr.c (output_reload_in_const): Can handle CONSTANT_P
> Â Â Â Ânow, not only CONST_INT and CONST_DOUBLE.
> Â Â Â Â(output_movqi): Use output_reload_in_const.
> Â Â Â Â(output_reload_inhi): Ditto.
> Â Â Â Â(output_reload_insisf): Move assertion to output_reload_in_const.
> Â Â Â Â(avr_out_reload_inpsi): Ditto.
>

Ok.

Denis.


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