public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-5686] arm: [MVE] Add missing length=8 attribute
@ 2023-02-03 15:41 Christophe Lyon
0 siblings, 0 replies; only message in thread
From: Christophe Lyon @ 2023-02-03 15:41 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:330d665ce6dcc63ed0bd78d807e69bbfc55255b6
commit r13-5686-g330d665ce6dcc63ed0bd78d807e69bbfc55255b6
Author: Christophe Lyon <christophe.lyon@arm.com>
Date: Mon Jan 30 17:30:12 2023 +0100
arm: [MVE] Add missing length=8 attribute
I have noticed that the "length" "8" attribute is missing in a few
patterns in mve.md.
gcc/
* config/arm/mve.md (mve_vabavq_p_<supf><mode>): Add length
attribute.
(mve_vqshluq_m_n_s<mode>): Likewise.
(mve_vshlq_m_<supf><mode>): Likewise.
(mve_vsriq_m_n_<supf><mode>): Likewise.
(mve_vsubq_m_<supf><mode>): Likewise.
Diff:
---
gcc/config/arm/mve.md | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/gcc/config/arm/mve.md b/gcc/config/arm/mve.md
index 74523f49356..369a58d9b75 100644
--- a/gcc/config/arm/mve.md
+++ b/gcc/config/arm/mve.md
@@ -4979,7 +4979,7 @@
"TARGET_HAVE_MVE"
"vpst\;vabavt.<supf>%#<V_sz_elem>\t%0, %q2, %q3"
[(set_attr "type" "mve_move")
-])
+ (set_attr "length" "8")])
;;
;; [vqshluq_m_n_s])
@@ -4995,7 +4995,8 @@
]
"TARGET_HAVE_MVE"
"vpst\n\tvqshlut.s%#<V_sz_elem>\t%q0, %q2, %3"
- [(set_attr "type" "mve_move")])
+ [(set_attr "type" "mve_move")
+ (set_attr "length" "8")])
;;
;; [vshlq_m_s, vshlq_m_u])
@@ -5011,7 +5012,8 @@
]
"TARGET_HAVE_MVE"
"vpst\;vshlt.<supf>%#<V_sz_elem>\t%q0, %q2, %q3"
- [(set_attr "type" "mve_move")])
+ [(set_attr "type" "mve_move")
+ (set_attr "length" "8")])
;;
;; [vsriq_m_n_s, vsriq_m_n_u])
@@ -5027,7 +5029,8 @@
]
"TARGET_HAVE_MVE"
"vpst\;vsrit.%#<V_sz_elem>\t%q0, %q2, %3"
- [(set_attr "type" "mve_move")])
+ [(set_attr "type" "mve_move")
+ (set_attr "length" "8")])
;;
;; [vsubq_m_u, vsubq_m_s])
@@ -5043,7 +5046,8 @@
]
"TARGET_HAVE_MVE"
"vpst\;vsubt.i%#<V_sz_elem>\t%q0, %q2, %q3"
- [(set_attr "type" "mve_move")])
+ [(set_attr "type" "mve_move")
+ (set_attr "length" "8")])
;;
;; [vcvtq_m_n_to_f_u, vcvtq_m_n_to_f_s])
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-03 15:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-03 15:41 [gcc r13-5686] arm: [MVE] Add missing length=8 attribute 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).