avr.c: Resolve all AS1 and AS2 macros.

* config/avr/avr.c: Resolve all AS1 and AS2 macros.
	* config/avr/avr.h (AS1, AS2, AS2C, AS3): Remove.
	(OUT_AS1, OUT_AS2): Remove.

From-SVN: r183800
This commit is contained in:
Georg-Johann Lay 2012-02-01 13:21:21 +00:00 committed by Georg-Johann Lay
parent 619392851d
commit c2453253e7
3 changed files with 812 additions and 828 deletions

View File

@ -1,3 +1,9 @@
2012-02-01 Georg-Johann Lay <avr@gjlay.de>
* config/avr/avr.c: Resolve all AS1 and AS2 macros.
* config/avr/avr.h (AS1, AS2, AS2C, AS3): Remove.
(OUT_AS1, OUT_AS2): Remove.
2012-02-01 Georg-Johann Lay <avr@gjlay.de>
PR rtl-optimization/51374

File diff suppressed because it is too large Load Diff

View File

@ -615,22 +615,6 @@ mmcu=*:-mmcu=%*}"
#define TEST_HARD_REG_CLASS(CLASS, REGNO) \
TEST_HARD_REG_BIT (reg_class_contents[ (int) (CLASS)], REGNO)
/* Note that the other files fail to use these
in some of the places where they should. */
#if defined(__STDC__) || defined(ALMOST_STDC)
#define AS2(a,b,c) #a " " #b "," #c
#define AS2C(b,c) " " #b "," #c
#define AS3(a,b,c,d) #a " " #b "," #c "," #d
#define AS1(a,b) #a " " #b
#else
#define AS1(a,b) "a b"
#define AS2(a,b,c) "a b,c"
#define AS2C(b,c) " b,c"
#define AS3(a,b,c,d) "a b,c,d"
#endif
#define OUT_AS1(a,b) output_asm_insn (AS1(a,b), operands)
#define OUT_AS2(a,b,c) output_asm_insn (AS2(a,b,c), operands)
#define CR_TAB "\n\t"
#define DWARF2_ADDR_SIZE 4