public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/clyon/heads/mve-autovec)] fix? pb with mve_vector_mem_operand
@ 2022-01-12  8:29 Christophe Lyon
  0 siblings, 0 replies; only message in thread
From: Christophe Lyon @ 2022-01-12  8:29 UTC (permalink / raw)
  To: gcc-cvs

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

commit d2c178bea087b0b030f6436e692930b83ac8fa59
Author: Christophe Lyon <christophe.lyon@foss.st.com>
Date:   Wed Dec 8 08:01:07 2021 +0000

    fix? pb with mve_vector_mem_operand

Diff:
---
 gcc/config/arm/arm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index 3b6a52ce40c..9d634a59d9f 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -13478,7 +13478,7 @@ mve_vector_mem_operand (machine_mode mode, rtx op, bool strict)
 	  case E_V4HImode:
 	  case E_V4HFmode:
 	    if (val % 2 == 0 && abs (val) <= 254)
-	      return reg_no <= LAST_LO_REGNUM
+	      return reg_no <= LAST_ARM_REGNUM
 		|| reg_no >= FIRST_PSEUDO_REGISTER;
 	    return FALSE;
 	  case E_V4SImode:


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

only message in thread, other threads:[~2022-01-12  8:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-12  8:29 [gcc(refs/users/clyon/heads/mve-autovec)] fix? pb with mve_vector_mem_operand 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).