aboutsummaryrefslogtreecommitdiff
path: root/gcc/optabs.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/optabs.h')
-rw-r--r--gcc/optabs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/optabs.h b/gcc/optabs.h
index ae525c8..a8b0e93 100644
--- a/gcc/optabs.h
+++ b/gcc/optabs.h
@@ -334,6 +334,10 @@ extern bool have_insn_for (enum rtx_code, machine_mode);
/* Generate a conditional trap instruction. */
extern rtx_insn *gen_cond_trap (enum rtx_code, rtx, rtx, rtx);
+/* Check whether the vec_perm can be interpreted as an and operation. */
+extern rtx vec_perm_and_mask (machine_mode mode, const vec_perm_indices &sel,
+ bool zero_op0_p);
+
/* Generate code for VEC_PERM_EXPR. */
extern rtx expand_vec_perm_var (machine_mode, rtx, rtx, rtx, rtx);
extern rtx expand_vec_perm_const (machine_mode, rtx, rtx,