diff options
author | YamaArashi <shadow962@live.com> | 2016-03-06 16:18:41 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-03-06 16:18:41 -0800 |
commit | ce590c846da59bd8d6fa3232689b776716c8c4af (patch) | |
tree | 6cee3a742d6d7bfd80f93b624ffe45a2d3ae3e29 /gcc/recog.c | |
parent | 60addc9c2c94b571f9ccfa4b4423aed3be886735 (diff) |
remove unused modes
Diffstat (limited to 'gcc/recog.c')
-rwxr-xr-x | gcc/recog.c | 12 |
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) |