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]: avr.md code clean-up


2012/1/30 Georg-Johann Lay <avr@gjlay.de>:
> This is code clean-up for avr.md.
>
> * It resolves all AS1 and AS2 macros for string insertion.
> ÂThere are plan strings now and no more needed because:
>
> * All deprecated "* quoted-c-code" transformed to { c-code }.
> Âso that avr.md matches http://gcc.gnu.org/backends.html
> Ânow, i.e. no 'b' in the avr line.
>
> * insn-condition "optimize" or "optimize > 0" is redundant with
> Âcombine patterns as combine does not run at -O0
>
> * Some minor coding style changes
>
> For the AS1/AS2 removal I used the attached awk.
>
> Ok to apply?
>
> Johann
>
> Â Â Â Â* config/avr/avr.md: Resolve all AS1 and AS2 macros.
> Â Â Â ÂTransform all "* quoted-c-code" to { c-code }.
> Â Â Â ÂRemove redundant test for "optimize" in combine patterns.
> Â Â Â ÂMove (include "avr-dimode.md") to end of file.
>

Please apply.

Denis.


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