This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch,AVR]: avr.md code clean-up
- From: Denis Chertykov <chertykov at gmail dot com>
- To: Georg-Johann Lay <avr at gjlay dot de>
- Cc: gcc-patches at gcc dot gnu dot org, Eric Weddington <eric dot weddington at atmel dot com>
- Date: Mon, 30 Jan 2012 23:18:50 +0400
- Subject: Re: [Patch,AVR]: avr.md code clean-up
- References: <4F268608.90600@gjlay.de>
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.