gcc/libstdc++-v3
Matthias Kretz 489b58b797 libstdc++: Fix simd<char> conversion for -fno-signed-char for Clang
The special case for Clang in the trait producing a signed integer type
lead to the trait returning 'char' where it should have been 'signed
char'. This workaround was introduced because on Clang the return type
of vector compares was not convertible to '_SimdWrapper<
__int_for_sizeof_t<...' unless '__int_for_sizeof_t<char>' was an alias
for 'char'. In order to not rewrite the complete mask type code (there
is code scattered around the implementation assuming signed integers),
this needs to be 'signed char'; so the special case for Clang needs to
be removed.
The conversion issue is now solved in _SimdWrapper, which now
additionally allows conversion from vector types with compatible
integral type.

Signed-off-by: Matthias Kretz <m.kretz@gsi.de>

libstdc++-v3/ChangeLog:

	PR libstdc++/115308
	* include/experimental/bits/simd.h (__int_for_sizeof): Remove
	special cases for __clang__.
	(_SimdWrapper): Change constructor overload set to allow
	conversion from vector types with integral conversions via bit
	reinterpretation.

(cherry picked from commit 8e36cf4c5c9140915d0019999db132a900b48037)
2024-06-10 07:58:09 +02:00
..
config libstdc++: Update powerpc-linux-gnu baseline_symbols 2024-05-03 15:39:00 +02:00
doc libstdc++: Replace link to gcc-4.3.2 docs in manual [PR115269] 2024-06-01 11:01:37 +01:00
include libstdc++: Fix simd<char> conversion for -fno-signed-char for Clang 2024-06-10 07:58:09 +02:00
libsupc++ libstdc++, Darwin: Handle a linker warning [PR112397]. 2024-02-19 20:14:34 +00:00
po
python
scripts libstdc++: Rename man pages to use '::' instead of '_' 2024-04-25 18:38:44 +01:00
src libstdc++: Build libbacktrace and 19_diagnostics/stacktrace with -funwind-tables [PR111641] 2024-06-04 09:10:24 +02:00
testsuite libstdc++: Use __builtin_shufflevector for simd split and concat 2024-06-10 07:58:08 +02:00
acinclude.m4 Fix up duplicated words mostly in comments, part 1 2024-04-02 13:39:11 +02:00
aclocal.m4
ChangeLog Daily bump. 2024-06-05 00:22:26 +00:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
ChangeLog-2020
ChangeLog-2021
ChangeLog-2022
ChangeLog-2023
config.h.in
configure libstdc++, Darwin: Handle a linker warning [PR112397]. 2024-02-19 20:14:34 +00:00
configure.ac libstdc++, Darwin: Handle a linker warning [PR112397]. 2024-02-19 20:14:34 +00:00
configure.host Fix up duplicated words mostly in comments, part 1 2024-04-02 13:39:11 +02:00
crossconfig.m4
fragment.am
linkage.m4
Makefile.am
Makefile.in
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.