mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 00:31:30 +08:00
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:
parent
e3cf7a9538
commit
a7b3cdfc28
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user