public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/vrull/heads/slp-improvements)] Fix signedness warnings in aarch64_evpc_ins_uzp
@ 2024-01-23 20:57 Philipp Tomsich
  0 siblings, 0 replies; 3+ messages in thread
From: Philipp Tomsich @ 2024-01-23 20:57 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:61420069b458b1998ae3bd4fe23a828aea8ccb82

commit 61420069b458b1998ae3bd4fe23a828aea8ccb82
Author: Manolis Tsamis <manolis.tsamis@vrull.eu>
Date:   Fri Nov 24 10:12:53 2023 +0100

    Fix signedness warnings in aarch64_evpc_ins_uzp
    
    Ref #344

Diff:
---
 gcc/config/aarch64/aarch64.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
index 0f2423ef7de..968ab1c1d62 100644
--- a/gcc/config/aarch64/aarch64.cc
+++ b/gcc/config/aarch64/aarch64.cc
@@ -25911,15 +25911,15 @@ aarch64_evpc_ins_uzp (struct expand_vec_perm_d *d)
     return false;
 
   /* We have a {A, B, A, B} permutation.  */
-  HOST_WIDE_INT A = d->perm[0].to_constant ();
-  HOST_WIDE_INT B = d->perm[1].to_constant ();
+  unsigned HOST_WIDE_INT A = d->perm[0].to_constant ();
+  unsigned HOST_WIDE_INT B = d->perm[1].to_constant ();
 
   if (A >= nelt || B < nelt || d->op0 == d->op1)
     return false;
 
   rtx insv;
   rtx extractv;
-  HOST_WIDE_INT idx, extractindex;
+  unsigned HOST_WIDE_INT idx, extractindex;
 
   /* If A is the first element or B is the second element of a UZP1/2 then we
      can emit this permute as INS + UZP .  */

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gcc(refs/vendors/vrull/heads/slp-improvements)] Fix signedness warnings in aarch64_evpc_ins_uzp
@ 2024-01-17 19:14 Philipp Tomsich
  0 siblings, 0 replies; 3+ messages in thread
From: Philipp Tomsich @ 2024-01-17 19:14 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:313febe010385fe9dbca0af3611a84cfec650af6

commit 313febe010385fe9dbca0af3611a84cfec650af6
Author: Manolis Tsamis <manolis.tsamis@vrull.eu>
Date:   Fri Nov 24 10:12:53 2023 +0100

    Fix signedness warnings in aarch64_evpc_ins_uzp
    
    Ref #344

Diff:
---
 gcc/config/aarch64/aarch64.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
index 7ae94091b7e..14b9a9d860e 100644
--- a/gcc/config/aarch64/aarch64.cc
+++ b/gcc/config/aarch64/aarch64.cc
@@ -25846,15 +25846,15 @@ aarch64_evpc_ins_uzp (struct expand_vec_perm_d *d)
     return false;
 
   /* We have a {A, B, A, B} permutation.  */
-  HOST_WIDE_INT A = d->perm[0].to_constant ();
-  HOST_WIDE_INT B = d->perm[1].to_constant ();
+  unsigned HOST_WIDE_INT A = d->perm[0].to_constant ();
+  unsigned HOST_WIDE_INT B = d->perm[1].to_constant ();
 
   if (A >= nelt || B < nelt || d->op0 == d->op1)
     return false;
 
   rtx insv;
   rtx extractv;
-  HOST_WIDE_INT idx, extractindex;
+  unsigned HOST_WIDE_INT idx, extractindex;
 
   /* If A is the first element or B is the second element of a UZP1/2 then we
      can emit this permute as INS + UZP .  */

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gcc(refs/vendors/vrull/heads/slp-improvements)] Fix signedness warnings in aarch64_evpc_ins_uzp
@ 2023-11-28 13:35 Philipp Tomsich
  0 siblings, 0 replies; 3+ messages in thread
From: Philipp Tomsich @ 2023-11-28 13:35 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:02206029fb2b2147899f6df8eba432e8b9eaf88e

commit 02206029fb2b2147899f6df8eba432e8b9eaf88e
Author: Manolis Tsamis <manolis.tsamis@vrull.eu>
Date:   Fri Nov 24 10:12:53 2023 +0100

    Fix signedness warnings in aarch64_evpc_ins_uzp
    
    Ref #344

Diff:
---
 gcc/config/aarch64/aarch64.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
index dc89c8fad30..b78dfe61ff7 100644
--- a/gcc/config/aarch64/aarch64.cc
+++ b/gcc/config/aarch64/aarch64.cc
@@ -22569,15 +22569,15 @@ aarch64_evpc_ins_uzp (struct expand_vec_perm_d *d)
     return false;
 
   /* We have a {A, B, A, B} permutation.  */
-  HOST_WIDE_INT A = d->perm[0].to_constant ();
-  HOST_WIDE_INT B = d->perm[1].to_constant ();
+  unsigned HOST_WIDE_INT A = d->perm[0].to_constant ();
+  unsigned HOST_WIDE_INT B = d->perm[1].to_constant ();
 
   if (A >= nelt || B < nelt || d->op0 == d->op1)
     return false;
 
   rtx insv;
   rtx extractv;
-  HOST_WIDE_INT idx, extractindex;
+  unsigned HOST_WIDE_INT idx, extractindex;
 
   /* If A is the first element or B is the second element of a UZP1/2 then we
      can emit this permute as INS + UZP .  */

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-23 20:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-23 20:57 [gcc(refs/vendors/vrull/heads/slp-improvements)] Fix signedness warnings in aarch64_evpc_ins_uzp Philipp Tomsich
  -- strict thread matches above, loose matches on Subject: below --
2024-01-17 19:14 Philipp Tomsich
2023-11-28 13:35 Philipp Tomsich

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).