public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-1701] [aarch64] Use op_mode instead of vmode in aarch64_vectorize_vec_perm_const.
@ 2022-07-15 1:01 Prathamesh Kulkarni
0 siblings, 0 replies; only message in thread
From: Prathamesh Kulkarni @ 2022-07-15 1:01 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:4cbebddc2ce1e88216fec6aa89d111d8596bd34c
commit r13-1701-g4cbebddc2ce1e88216fec6aa89d111d8596bd34c
Author: Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Date: Fri Jul 15 06:26:50 2022 +0530
[aarch64] Use op_mode instead of vmode in aarch64_vectorize_vec_perm_const.
gcc/ChangeLog:
* config/aarch64/aarch64.cc (aarch64_vectorize_vec_perm_const): Use
op_mode instead of vmode in calls to force_reg for op0 and op1.
Diff:
---
gcc/config/aarch64/aarch64.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
index 25f4cbb466d..303814b8cca 100644
--- a/gcc/config/aarch64/aarch64.cc
+++ b/gcc/config/aarch64/aarch64.cc
@@ -24129,11 +24129,11 @@ aarch64_vectorize_vec_perm_const (machine_mode vmode, machine_mode op_mode,
d.op_mode = op_mode;
d.op_vec_flags = aarch64_classify_vector_mode (d.op_mode);
d.target = target;
- d.op0 = op0 ? force_reg (vmode, op0) : NULL_RTX;
+ d.op0 = op0 ? force_reg (op_mode, op0) : NULL_RTX;
if (op0 == op1)
d.op1 = d.op0;
else
- d.op1 = op1 ? force_reg (vmode, op1) : NULL_RTX;
+ d.op1 = op1 ? force_reg (op_mode, op1) : NULL_RTX;
d.testing_p = !target;
if (!d.testing_p)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-15 1:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-15 1:01 [gcc r13-1701] [aarch64] Use op_mode instead of vmode in aarch64_vectorize_vec_perm_const Prathamesh Kulkarni
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).