Skip to content
Snippets Groups Projects
Commit 4f2e9ceb authored by danglin's avatar danglin
Browse files

* pa.h (LEGITIMATE_CONSTANT_P): Simplify.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119661 138bc75d-0d04-0410-961f-82ee72b054a4
parent cad2a6b5
No related branches found
No related tags found
No related merge requests found
2006-12-08 John David Anglin <dave.anglin.@nrc-cnrc.gc.ca>
* pa.h (LEGITIMATE_CONSTANT_P): Simplify.
2006-12-08 Mark Shinwell <shinwell@codesourcery.com>
 
* recog.c (mode_dependent_address_p): Identify pre-increment,
......
......@@ -1119,13 +1119,18 @@ extern int may_call_alloca;
#define LEGITIMATE_CONSTANT_P(X) \
((GET_MODE_CLASS (GET_MODE (X)) != MODE_FLOAT \
|| (X) == CONST0_RTX (GET_MODE (X))) \
&& (NEW_HP_ASSEMBLER || TARGET_GAS || GET_CODE (X) != LABEL_REF) \
&& !(TARGET_64BIT && GET_CODE (X) == CONST_DOUBLE) \
&& !(TARGET_64BIT && GET_CODE (X) == CONST_INT \
&& !(HOST_BITS_PER_WIDE_INT <= 32 \
|| (reload_in_progress || reload_completed) \
|| LEGITIMATE_64BIT_CONST_INT_P (INTVAL (X)) \
|| cint_ok_for_move (INTVAL (X)))) \
&& (NEW_HP_ASSEMBLER \
|| TARGET_GAS \
|| GET_CODE (X) != LABEL_REF) \
&& (!TARGET_64BIT \
|| GET_CODE (X) != CONST_DOUBLE) \
&& (!TARGET_64BIT \
|| HOST_BITS_PER_WIDE_INT <= 32 \
|| GET_CODE (X) != CONST_INT \
|| reload_in_progress \
|| reload_completed \
|| LEGITIMATE_64BIT_CONST_INT_P (INTVAL (X)) \
|| cint_ok_for_move (INTVAL (X))) \
&& !function_label_operand (X, VOIDmode))
/* Target flags set on a symbol_ref. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment