gcc/libstdc++-v3/testsuite
Matthias Kretz ff4646793f libstdc++: Use __builtin_shufflevector for simd split and concat
Signed-off-by: Matthias Kretz <m.kretz@gsi.de>

libstdc++-v3/ChangeLog:

	PR libstdc++/114958
	* include/experimental/bits/simd.h (__as_vector): Return scalar
	simd as one-element vector. Return vector from single-vector
	fixed_size simd.
	(__vec_shuffle): New.
	(__extract_part): Adjust return type signature.
	(split): Use __extract_part for any split into non-fixed_size
	simds.
	(concat): If the return type stores a single vector, use
	__vec_shuffle (which calls __builtin_shufflevector) to produce
	the return value.
	* include/experimental/bits/simd_builtin.h
	(__shift_elements_right): Removed.
	(__extract_part): Return single elements directly. Use
	__vec_shuffle (which calls __builtin_shufflevector) to for all
	non-trivial cases.
	* include/experimental/bits/simd_fixed_size.h (__extract_part):
	Return single elements directly.
	* testsuite/experimental/simd/pr114958.cc: New test.

(cherry picked from commit fb1649f8b4ad5043dd0e65e4e3a643a0ced018a9)
2024-06-10 07:58:08 +02:00
..
17_intro libstdc++: Workaround kernel-headers on s390x-linux 2024-04-22 18:00:06 +02:00
18_support Update copyright years. 2024-01-03 12:19:35 +01:00
19_diagnostics libstdc++: Build libbacktrace and 19_diagnostics/stacktrace with -funwind-tables [PR111641] 2024-06-04 09:10:24 +02:00
20_util libstdc++: Fix <memory> for -std=c++23 -ffreestanding [PR114866] 2024-05-14 10:50:19 +01:00
21_strings libstdc++: Fix tests that fail with -fno-char8_t 2024-04-08 17:44:18 +01:00
22_locale libstdc++: Implement C++26 std::text_encoding (P1885R12) [PR113318] 2024-01-17 11:49:11 +00:00
23_containers libstdc++: Replace stacktrace effective target with feature test 2024-03-26 11:32:55 +00:00
24_iterators libstdc++-v3: drop GCC Runtime Library Exception from gen tests 2024-03-29 12:50:06 +01:00
25_algorithms libstdc++: Add nodiscard in <algorithm> 2024-03-14 16:58:15 +00:00
26_numerics libstdc++: Fix infinite loop in std::binomial_distribution [PR114359] 2024-03-19 15:59:44 +00:00
27_io libstdc++: Implement "Printing blank lines with println" for C++23 2024-04-17 17:33:10 +01:00
28_regex Update copyright years. 2024-01-03 12:19:35 +01:00
29_atomics [libstdc++] [testsuite] disable SRA for compare_exchange_padding 2024-04-18 08:03:56 -03:00
30_threads libstdc++: Implement std::formatter<std:🧵:id> without <sstream> [PR115099] 2024-05-22 10:06:52 +01:00
abi Update copyright years. 2024-01-03 12:19:35 +01:00
backward Update copyright years. 2024-01-03 12:19:35 +01:00
config Update copyright years. 2024-01-03 12:19:35 +01:00
data
decimal Update copyright years. 2024-01-03 12:19:35 +01:00
experimental libstdc++: Use __builtin_shufflevector for simd split and concat 2024-06-10 07:58:08 +02:00
ext libstdc++: Fix typo in _Grapheme_cluster_view::_Iterator [PR115119] 2024-05-17 13:48:43 +01:00
lib libstdc++: Replace stacktrace effective target with feature test 2024-03-26 11:32:55 +00:00
libstdc++-abi Update copyright years. 2024-01-03 12:19:35 +01:00
libstdc++-dg Update copyright years. 2024-01-03 12:19:35 +01:00
libstdc++-prettyprinters libstdc++: Move test error_category to global scope 2024-03-13 21:25:14 +00:00
libstdc++-xmethods Update copyright years. 2024-01-03 12:19:35 +01:00
performance Update copyright years. 2024-01-03 12:19:35 +01:00
special_functions Update copyright years. 2024-01-03 12:19:35 +01:00
std libstdc++: Do not apply localized formatting to NaN and inf [PR114863] 2024-04-30 09:36:44 +01:00
tr1 libstdc++: Fix testsuite with -Wformat 2024-01-06 15:11:33 +00:00
tr2 Update copyright years. 2024-01-03 12:19:35 +01:00
util libstdc++: Update ABI test to disallow adding to released symbol versions 2024-05-14 10:50:19 +01:00
Makefile.am Update copyright years. 2024-01-03 12:19:35 +01:00
Makefile.in libstdc++: Add support for running tests with multiple -std options 2023-09-15 21:57:38 +01:00