public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-1781] libstdc++: Remove dead code in simd
@ 2021-06-24 13:34 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2021-06-24 13:34 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
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>>>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-24 13:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-24 13:34 [gcc r12-1781] libstdc++: Remove dead code in simd Jonathan Wakely
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).