From: Christophe Lyon Date: Mon, 30 Jan 2023 16:30:12 +0000 (+0100) Subject: arm: [MVE] Add missing length=8 attribute X-Git-Tag: basepoints/gcc-14~1521 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=330d665ce6dcc63ed0bd78d807e69bbfc55255b6;p=thirdparty%2Fgcc.git 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_): Add length attribute. (mve_vqshluq_m_n_s): Likewise. (mve_vshlq_m_): Likewise. (mve_vsriq_m_n_): Likewise. (mve_vsubq_m_): Likewise. --- diff --git a/gcc/config/arm/mve.md b/gcc/config/arm/mve.md index 74523f49356a..369a58d9b75d 100644 --- a/gcc/config/arm/mve.md +++ b/gcc/config/arm/mve.md @@ -4979,7 +4979,7 @@ "TARGET_HAVE_MVE" "vpst\;vabavt.%#\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%#\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.%#\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.%#\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%#\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])