public inbox for libstdc++-cvs@sourceware.org help / color / mirror / Atom feed
From: Jonathan Wakely <redi@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-1781] libstdc++: Remove dead code in simd Date: Thu, 24 Jun 2021 13:34:18 +0000 (GMT) [thread overview] Message-ID: <20210624133418.4BBFA3888027@sourceware.org> (raw) https://gcc.gnu.org/g:ebb45cb816e3b808b29f05a934f6012a92d0c261 commit r12-1781-gebb45cb816e3b808b29f05a934f6012a92d0c261 Author: Matthias Kretz <m.kretz@gsi.de> Date: Thu Jun 24 14:20:14 2021 +0100 libstdc++: Remove dead code in simd This helper type became unused at some point. Signed-off-by: Matthias Kretz <m.kretz@gsi.de> libstdc++-v3/ChangeLog: * include/experimental/bits/simd_fixed_size.h (_AbisInSimdTuple): Removed. Diff: --- .../include/experimental/bits/simd_fixed_size.h | 49 ---------------------- 1 file changed, 49 deletions(-) diff --git a/libstdc++-v3/include/experimental/bits/simd_fixed_size.h b/libstdc++-v3/include/experimental/bits/simd_fixed_size.h index 7c2c1df77c8..b6fb47cdf39 100644 --- a/libstdc++-v3/include/experimental/bits/simd_fixed_size.h +++ b/libstdc++-v3/include/experimental/bits/simd_fixed_size.h @@ -1025,55 +1025,6 @@ template <typename _Tp, int _Np, typename... _As, typename _Next, int _Remain> _Tp, _Remain, _SimdTuple<_Tp, _As..., typename _Next::abi_type>>::type; }; -// }}} -// _AbisInSimdTuple {{{ -template <typename _Tp> - struct _SeqOp; - -template <size_t _I0, size_t... _Is> - struct _SeqOp<index_sequence<_I0, _Is...>> - { - using _FirstPlusOne = index_sequence<_I0 + 1, _Is...>; - using _NotFirstPlusOne = index_sequence<_I0, (_Is + 1)...>; - template <size_t _First, size_t _Add> - using _Prepend = index_sequence<_First, _I0 + _Add, (_Is + _Add)...>; - }; - -template <typename _Tp> - struct _AbisInSimdTuple; - -template <typename _Tp> - struct _AbisInSimdTuple<_SimdTuple<_Tp>> - { - using _Counts = index_sequence<0>; - using _Begins = index_sequence<0>; - }; - -template <typename _Tp, typename _Ap> - struct _AbisInSimdTuple<_SimdTuple<_Tp, _Ap>> - { - using _Counts = index_sequence<1>; - using _Begins = index_sequence<0>; - }; - -template <typename _Tp, typename _A0, typename... _As> - struct _AbisInSimdTuple<_SimdTuple<_Tp, _A0, _A0, _As...>> - { - using _Counts = typename _SeqOp<typename _AbisInSimdTuple< - _SimdTuple<_Tp, _A0, _As...>>::_Counts>::_FirstPlusOne; - using _Begins = typename _SeqOp<typename _AbisInSimdTuple< - _SimdTuple<_Tp, _A0, _As...>>::_Begins>::_NotFirstPlusOne; - }; - -template <typename _Tp, typename _A0, typename _A1, typename... _As> - struct _AbisInSimdTuple<_SimdTuple<_Tp, _A0, _A1, _As...>> - { - using _Counts = typename _SeqOp<typename _AbisInSimdTuple< - _SimdTuple<_Tp, _A1, _As...>>::_Counts>::template _Prepend<1, 0>; - using _Begins = typename _SeqOp<typename _AbisInSimdTuple< - _SimdTuple<_Tp, _A1, _As...>>::_Begins>::template _Prepend<0, 1>; - }; - // }}} // __autocvt_to_simd {{{ template <typename _Tp, bool = is_arithmetic_v<__remove_cvref_t<_Tp>>>
reply other threads:[~2021-06-24 13:34 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210624133418.4BBFA3888027@sourceware.org \ --to=redi@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ --cc=libstdc++-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).