avr.c (CONST_FIXED_P): Remove define.

* config/avr/avr.c (CONST_FIXED_P): Remove define.
	* config/avr/avr.md (add<mode>3): Use CONST_FIXED_P.

From-SVN: r191393
This commit is contained in:
Georg-Johann Lay 2012-09-17 15:34:47 +00:00 committed by Georg-Johann Lay
parent e3cf7a9538
commit a7b3cdfc28
3 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2012-09-17 Georg-Johann Lay <avr@gjlay.de>
* config/avr/avr.c (CONST_FIXED_P): Remove define.
* config/avr/avr.md (add<mode>3): Use CONST_FIXED_P.
2012-09-17 Georg-Johann Lay <avr@gjlay.de>
PR target/54607

View File

@ -49,10 +49,6 @@
#include "params.h"
#include "df.h"
#ifndef CONST_FIXED_P
#define CONST_FIXED_P(X) (CONST_FIXED == GET_CODE (X))
#endif
/* Maximal allowed offset for an address in the LD command */
#define MAX_LD_OFFSET(MODE) (64 - (signed)GET_MODE_SIZE (MODE))

View File

@ -1132,7 +1132,7 @@
}
}
if (CONST_FIXED == GET_CODE (operands[2]))
if (CONST_FIXED_P (operands[2]))
{
emit_insn (gen_add<mode>3_clobber (operands[0], operands[1], operands[2]));
DONE;