summaryrefslogtreecommitdiff
path: root/gcc/genopinit.c
diff options
context:
space:
mode:
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-30 05:13:17 +0000
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-30 05:13:17 +0000
commitfb4ca22204c8c782790c239d204279c20a6fde05 (patch)
tree06c20a583f3d4d6c7a3a05523edfea417407a21c /gcc/genopinit.c
parent883c44aa6b41f43acb242922e14dce27d66f2c27 (diff)
downloadgcc-fb4ca22204c8c782790c239d204279c20a6fde05.tar.gz
2001-11-30 Daniel Berlin <dan@cgsoftware.com>
* genopinit.c (gen_insn): Handle MODE_VECTOR_INT and MODE_VECTOR_FLOAT as allowed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47476 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genopinit.c')
-rw-r--r--gcc/genopinit.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/genopinit.c b/gcc/genopinit.c
index 85fa6433f35..dc422d762d4 100644
--- a/gcc/genopinit.c
+++ b/gcc/genopinit.c
@@ -219,11 +219,14 @@ gen_insn (insn)
break;
if (*p == 0
- && (! force_int || mode_class[i] == MODE_INT)
+ && (! force_int || mode_class[i] == MODE_INT
+ || mode_class[i] == MODE_VECTOR_INT)
&& (! force_partial_int
|| mode_class[i] == MODE_INT
- || mode_class[i] == MODE_PARTIAL_INT)
- && (! force_float || mode_class[i] == MODE_FLOAT))
+ || mode_class[i] == MODE_PARTIAL_INT
+ || mode_class[i] == MODE_VECTOR_INT)
+ && (! force_float || mode_class[i] == MODE_FLOAT
+ || mode_class[i] == MODE_VECTOR_FLOAT))
break;
}