diff options
author | Dmitry Plotnikov <dplotnikov@ispras.ru> | 2011-10-30 17:12:02 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2011-10-30 17:12:02 +0000 |
commit | 05dfafa0f402cc03239157f35b037222236aad20 (patch) | |
tree | e44c3a45aa245b7294a083e14b64e2518eec620f /gcc/optabs.h | |
parent | 8943cc2522f550551d7957316ab9ee705ef37400 (diff) |
2011-10-30 Dmitry Plotnikov <dplotnikov@ispras.ru>
* tree-cfg.c (verify_gimple_assign_unary): Allow vector conversions.
* optabs.c (supportable_convert_operation): New function.
* optabs.h (supportable_convert_operation): New prototype.
* tree-vect-stmts.c (vectorizable_conversion): Change condition and
behavior for NONE modifier case.
* tree.h (VECTOR_INTEGER_TYPE_P): New macro.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@180684 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/optabs.h')
-rw-r--r-- | gcc/optabs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/optabs.h b/gcc/optabs.h index 057f6533ad1..8357a298618 100644 --- a/gcc/optabs.h +++ b/gcc/optabs.h @@ -883,6 +883,12 @@ extern void expand_float (rtx, rtx, int); /* Return the insn_code for a FLOAT_EXPR. */ enum insn_code can_float_p (enum machine_mode, enum machine_mode, int); +/* Check whether an operation represented by the code CODE is a + convert operation that is supported by the target platform in + vector form */ +bool supportable_convert_operation (enum tree_code, tree, tree, tree *, + enum tree_code *); + /* Generate code for a FIX_EXPR. */ extern void expand_fix (rtx, rtx, int); |