[gcc r17-3515] aarch64: Drop the duplicate vnarrowq mode attribute
Kyrylo Tkachov via Gcc-cvs <[email protected]>
| Newsgroups | gmane.comp.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://gcc.gnu.org/g:6bb4f7a6dd475967e73fcfd2aae432b2f32c7e74 commit r17-3515-g6bb4f7a6dd475967e73fcfd2aae432b2f32c7e74 Author: Kyrylo Tkachov <[email protected]> Date: Fri Aug 21 14:06:28 2026 +0200 aarch64: Drop the duplicate vnarrowq mode attribute I gave the saturating narrowing optab names a new lower case vnarrowq mode attribute, but Vnarrowq already maps the same three modes to the same lower case strings, so either spells the same pattern name. Use the one that was already there. Bootstrapped and tested on aarch64-none-linux-gnu. Pushing to trunk as obvious. gcc/ChangeLog: * config/aarch64/iterators.md (vnarrowq): Delete. * config/aarch64/aarch64-simd.md (<sat_trunc_op>trunc<mode><vnarrowq>2): Rename to... (<sat_trunc_op>trunc<mode><Vnarrowq>2): ... this. Signed-off-by: Kyrylo Tkachov <[email protected]> Diff: --- gcc/config/aarch64/aarch64-simd.md | 2 +- gcc/config/aarch64/iterators.md | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/gcc/config/aarch64/aarch64-simd.md b/gcc/config/aarch64/aarch64-simd.md index e91692ce4867..f9b2fd6b2db1 100644 --- a/gcc/config/aarch64/aarch64-simd.md +++ b/gcc/config/aarch64/aarch64-simd.md @@ -6173,7 +6173,7 @@ ;; The saturating narrowing conversion that the vectoriser asks for through ;; IFN_SAT_TRUNC. The RTL is what aarch64_<su>qmovn<mode> below matches. -(define_expand "<sat_trunc_op>trunc<mode><vnarrowq>2" +(define_expand "<sat_trunc_op>trunc<mode><Vnarrowq>2" [(set (match_operand:<VNARROWQ> 0 "register_operand") (SAT_TRUNC:<VNARROWQ> (match_operand:VQN 1 "register_operand")))] "TARGET_SIMD" diff --git a/gcc/config/aarch64/iterators.md b/gcc/config/aarch64/iterators.md index 798c0d055ae2..b0571460ec7d 100644 --- a/gcc/config/aarch64/iterators.md +++ b/gcc/config/aarch64/iterators.md @@ -2191,9 +2191,6 @@ (DI "v2si")]) ;; Narrowed double-modes for VQN (Used for XTN). -;; Lower case VNARROWQ, for the sstrunc and ustrunc optab names. -(define_mode_attr vnarrowq [(V8HI "v8qi") (V4SI "v4hi") (V2DI "v2si")]) - (define_mode_attr VNARROWQ [(V8HI "V8QI") (V4SI "V4HI") (V2DI "V2SI") (DI "SI") (SI "HI")