public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7356] arm: Fix typo in auto-vectorized MVE comparisons
@ 2022-02-23  6:44 Christophe Lyon
  0 siblings, 0 replies; only message in thread
From: Christophe Lyon @ 2022-02-23  6:44 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:fd0ab7c734b04b91653467b94afd48ceca122083

commit r12-7356-gfd0ab7c734b04b91653467b94afd48ceca122083
Author: Christophe Lyon <christophe.lyon@arm.com>
Date:   Wed Feb 23 06:44:12 2022 +0000

    arm: Fix typo in auto-vectorized MVE comparisons
    
    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.

Diff:
---
 gcc/config/arm/vfp.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/config/arm/vfp.md b/gcc/config/arm/vfp.md
index f00d1cad3e9..d0f423cc3c5 100644
--- a/gcc/config/arm/vfp.md
+++ b/gcc/config/arm/vfp.md
@@ -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";
@@ -193,7 +193,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";


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-23  6:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-23  6:44 [gcc r12-7356] arm: Fix typo in auto-vectorized MVE comparisons Christophe Lyon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).