+2023-05-25 Alexandre Oliva <oliva@adacore.com>
+
+ Backported from master:
+ 2023-05-25 Alexandre Oliva <oliva@adacore.com>
+
+ * testsuite/20_util/to_chars/long_double.cc: Expect execution
+ fail on x86-vxworks.
+
+2023-05-25 Matthias Kretz <m.kretz@gsi.de>
+
+ Backported from master:
+ 2023-05-23 Matthias Kretz <m.kretz@gsi.de>
+
+ PR libstdc++/109261
+ * include/experimental/bits/simd.h (_SimdWrapper::_M_set):
+ Avoid vector builtin subscripting in constant expressions.
+ (resizing_simd_cast): Avoid memcpy if constant_evaluated.
+ (const_where_expression, where_expression, where)
+ (__extract_part, simd_mask, _SimdIntOperators, simd): Add either
+ _GLIBCXX_SIMD_CONSTEXPR (on public APIs), or constexpr (on
+ internal APIs).
+ * include/experimental/bits/simd_builtin.h (__vector_permute)
+ (__vector_shuffle, __extract_part, _GnuTraits::_SimdCastType1)
+ (_GnuTraits::_SimdCastType2, _SimdImplBuiltin)
+ (_MaskImplBuiltin::_S_store): Add constexpr.
+ (_CommonImplBuiltin::_S_store_bool_array)
+ (_SimdImplBuiltin::_S_load, _SimdImplBuiltin::_S_store)
+ (_SimdImplBuiltin::_S_reduce, _MaskImplBuiltin::_S_load): Add
+ constant_evaluated case.
+ * include/experimental/bits/simd_fixed_size.h
+ (_S_masked_load): Reword comment.
+ (__tuple_element_meta, __make_meta, _SimdTuple::_M_apply_r)
+ (_SimdTuple::_M_subscript_read, _SimdTuple::_M_subscript_write)
+ (__make_simd_tuple, __optimize_simd_tuple, __extract_part)
+ (__autocvt_to_simd, _Fixed::__traits::_SimdBase)
+ (_Fixed::__traits::_SimdCastType, _SimdImplFixedSize): Add
+ constexpr.
+ (_SimdTuple::operator[], _M_set): Add constexpr and add
+ constant_evaluated case.
+ (_MaskImplFixedSize::_S_load): Add constant_evaluated case.
+ * include/experimental/bits/simd_scalar.h: Add constexpr.
+ * include/experimental/bits/simd_x86.h (_CommonImplX86): Add
+ constexpr and add constant_evaluated case.
+ (_SimdImplX86::_S_equal_to, _S_not_equal_to, _S_less)
+ (_S_less_equal): Value-initialize to satisfy constexpr
+ evaluation.
+ (_MaskImplX86::_S_load): Add constant_evaluated case.
+ (_MaskImplX86::_S_store): Add constexpr and constant_evaluated
+ case. Value-initialize local variables.
+ (_MaskImplX86::_S_logical_and, _S_logical_or, _S_bit_not)
+ (_S_bit_and, _S_bit_or, _S_bit_xor): Add constant_evaluated
+ case.
+ * testsuite/experimental/simd/pr109261_constexpr_simd.cc: New
+ test.
+
+2023-05-25 Matthias Kretz <m.kretz@gsi.de>
+
+ Backported from master:
+ 2023-05-24 Matthias Kretz <m.kretz@gsi.de>
+
+ PR libstdc++/109949
+ * include/experimental/bits/simd.h (__intrinsic_type): If
+ __ALTIVEC__ is defined, map gnu::vector_size types to their
+ corresponding __vector T types without losing unsignedness of
+ integer types. Also prefer long long over long.
+ * include/experimental/bits/simd_ppc.h (_S_popcount): Cast mask
+ object to the expected unsigned vector type.
+
+2023-05-25 Matthias Kretz <m.kretz@gsi.de>
+
+ Backported from master:
+ 2023-05-24 Matthias Kretz <m.kretz@gsi.de>
+
+ PR libstdc++/109261
+ * include/experimental/bits/simd_neon.h (_S_reduce): Add
+ constexpr and make NEON implementation conditional on
+ not __builtin_is_constant_evaluated.
+
+2023-05-25 Matthias Kretz <m.kretz@gsi.de>
+
+ Backported from master:
+ 2023-05-24 Matthias Kretz <m.kretz@gsi.de>
+
+ PR libstdc++/109261
+ * include/experimental/bits/simd.h (__intrinsic_type):
+ Specialize __intrinsic_type<double, 8> and
+ __intrinsic_type<double, 16> in any case, but provide the member
+ type only with __aarch64__.
+
+2023-05-25 Matthias Kretz <m.kretz@gsi.de>
+
+ Backported from master:
+ 2023-05-22 Matthias Kretz <m.kretz@gsi.de>
+
+ * include/experimental/bits/simd_builtin.h (_S_fpclassify): Move
+ __infn into #ifdef'ed block.
+ * testsuite/experimental/simd/tests/fpclassify.cc: Declare
+ constants only when used.
+ * testsuite/experimental/simd/tests/frexp.cc: Likewise.
+ * testsuite/experimental/simd/tests/logarithm.cc: Likewise.
+ * testsuite/experimental/simd/tests/trunc_ceil_floor.cc:
+ Likewise.
+ * testsuite/experimental/simd/tests/ldexp_scalbn_scalbln_modf.cc:
+ Move totest and expect1 into #ifdef'ed block.
+
2023-05-17 Jakub Jelinek <jakub@redhat.com>
Backported from master: