From ce590c846da59bd8d6fa3232689b776716c8c4af Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sun, 6 Mar 2016 16:18:41 -0800 Subject: remove unused modes --- gcc/recog.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'gcc/recog.c') 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) -- cgit v1.2.3