arm: Fix typo in auto-vectorized MVE comparisons
authorChristophe Lyon <christophe.lyon@arm.com>
Wed, 23 Feb 2022 06:44:12 +0000 (06:44 +0000)
committerChristophe Lyon <christophe.lyon@arm.com>
Wed, 23 Feb 2022 06:44:12 +0000 (06:44 +0000)
I made a last minute renaming of mve_const_bool_vec_to_hi () into
mve_bool_vec_to_const () and forgot to update the call sites in vfp.md
accordingly.

Committed as obvious.

2022-02-23  Christophe Lyon <christophe.lyon@arm.com>

gcc/
PR target/100757
PR target/101325
* config/arm/vfp.md (thumb2_movhi_vfp, thumb2_movhi_fp16): Fix
typo.

gcc/config/arm/vfp.md

index f00d1ca..d0f423c 100644 (file)
@@ -89,7 +89,7 @@
       return "mov%?\t%0, %1\t%@ movhi";
     case 1:
       if (GET_MODE_CLASS (GET_MODE (operands[1])) == MODE_VECTOR_BOOL)
-        operands[1] = mve_const_bool_vec_to_hi (operands[1]);
+        operands[1] = mve_bool_vec_to_const (operands[1]);
       else
         operands[1] = gen_lowpart (HImode, operands[1]);
       return "mov%?\t%0, %1\t%@ movhi";
       return "mov%?\t%0, %1\t%@ movhi";
     case 1:
       if (GET_MODE_CLASS (GET_MODE (operands[1])) == MODE_VECTOR_BOOL)
-        operands[1] = mve_const_bool_vec_to_hi (operands[1]);
+        operands[1] = mve_bool_vec_to_const (operands[1]);
       else
         operands[1] = gen_lowpart (HImode, operands[1]);
       return "mov%?\t%0, %1\t%@ movhi";