summaryrefslogtreecommitdiff
path: root/gcc/recog.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/recog.c')
-rwxr-xr-xgcc/recog.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/gcc/recog.c b/gcc/recog.c
index 41e4db3..0edeab5 100755
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -904,8 +904,7 @@ general_operand (op, mode)
/* Don't accept CONST_INT or anything similar
if the caller wants something floating. */
if (GET_MODE (op) == VOIDmode && mode != VOIDmode
- && GET_MODE_CLASS (mode) != MODE_INT
- && GET_MODE_CLASS (mode) != MODE_PARTIAL_INT)
+ && GET_MODE_CLASS (mode) != MODE_INT)
return 0;
if (CONSTANT_P (op))
@@ -1055,8 +1054,7 @@ immediate_operand (op, mode)
/* Don't accept CONST_INT or anything similar
if the caller wants something floating. */
if (GET_MODE (op) == VOIDmode && mode != VOIDmode
- && GET_MODE_CLASS (mode) != MODE_INT
- && GET_MODE_CLASS (mode) != MODE_PARTIAL_INT)
+ && GET_MODE_CLASS (mode) != MODE_INT)
return 0;
return (CONSTANT_P (op)
@@ -1086,8 +1084,7 @@ const_double_operand (op, mode)
/* Don't accept CONST_INT or anything similar
if the caller wants something floating. */
if (GET_MODE (op) == VOIDmode && mode != VOIDmode
- && GET_MODE_CLASS (mode) != MODE_INT
- && GET_MODE_CLASS (mode) != MODE_PARTIAL_INT)
+ && GET_MODE_CLASS (mode) != MODE_INT)
return 0;
return ((GET_CODE (op) == CONST_DOUBLE || GET_CODE (op) == CONST_INT)
@@ -1117,8 +1114,7 @@ nonmemory_operand (op, mode)
/* Don't accept CONST_INT or anything similar
if the caller wants something floating. */
if (GET_MODE (op) == VOIDmode && mode != VOIDmode
- && GET_MODE_CLASS (mode) != MODE_INT
- && GET_MODE_CLASS (mode) != MODE_PARTIAL_INT)
+ && GET_MODE_CLASS (mode) != MODE_INT)
return 0;
return ((GET_MODE (op) == VOIDmode || GET_MODE (op) == mode)