This patch fixes an inverted condition in r256093. I checked for other instances of the same thing and there didn't seem to be any.
Tested on arm-linux-gnueabihf and applied as obvious. Richard 2018-01-04 Richard Sandiford <richard.sandif...@linaro.org> gcc/ PR target/83680 * config/arm/arm.c (arm_vectorize_vec_perm_const): Fix inverted test for d.testing. Index: gcc/config/arm/arm.c =================================================================== --- gcc/config/arm/arm.c 2018-01-03 11:12:55.080788513 +0000 +++ gcc/config/arm/arm.c 2018-01-04 14:33:34.424536295 +0000 @@ -29440,7 +29440,7 @@ arm_vectorize_vec_perm_const (machine_mo d.perm.new_vector (sel.encoding (), d.one_vector_p ? 1 : 2, nelt); - if (d.testing_p) + if (!d.testing_p) return arm_expand_vec_perm_const_1 (&d); d.target = gen_raw_REG (d.vmode, LAST_VIRTUAL_REGISTER + 1);