We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d151f4 commit 121652bCopy full SHA for 121652b
gcc/config/arc64/arc64.cc
@@ -4429,11 +4429,15 @@ arc64_simd_lane_pack (struct e_vec_perm_d *d)
4429
/* Implement TARGET_VECTORIZE_VEC_PERM_CONST. */
4430
4431
static bool
4432
-arc64_vectorize_vec_perm_const (machine_mode vmode, rtx target, rtx op0,
4433
- rtx op1, const vec_perm_indices &sel)
+arc64_vectorize_vec_perm_const (machine_mode vmode, machine_mode op_mode,
+ rtx target, rtx op0, rtx op1,
4434
+ const vec_perm_indices &sel)
4435
{
4436
struct e_vec_perm_d d;
4437
4438
+ if (vmode != op_mode)
4439
+ return false;
4440
+
4441
/* Check whether the mask can be applied to a single vector. */
4442
if (sel.ninputs () == 1
4443
|| (op0 && rtx_equal_p (op0, op1)))
0 commit comments