Commit a7b3cdfc by Georg-Johann Lay Committed by Georg-Johann Lay

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
parent e3cf7a95
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
* config.gcc (tm_file,avr): Add avr/avr-arch.h.
* config/avr/t-avr (gen-avr-mmcu-texi): Use CC_FOR_BUILD to
......
......@@ -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))
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment