[PATCH 06/11] libstdc++: Minor simd_math cleanups

Matthias Kretz m.kretz@gsi.de
Tue Jun 8 12:11:48 GMT 2021



From: Matthias Kretz <kretz@kde.org>

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

libstdc++-v3/ChangeLog:

	* include/experimental/bits/simd_math.h: Undefine internal
	macros after use.
	(frexp): Move #if to a more sensible position and reformat
	preceding code.
	(logb): Call _SimdImpl::_S_logb for fixed_size instead of
	duplicating the code here.
	(modf): Simplify condition.
---
 .../include/experimental/bits/simd_math.h     | 22 +++++--------------
 1 file changed, 6 insertions(+), 16 deletions(-)


--
──────────────────────────────────────────────────────────────────────────
 Dr. Matthias Kretz                           https://mattkretz.github.io
 GSI Helmholtz Centre for Heavy Ion Research               https://gsi.de
 std::experimental::simd              https://github.com/VcDevel/std-simd
──────────────────────────────────────────────────────────────────────────
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-libstdc-Minor-simd_math-cleanups.patch
Type: text/x-patch
Size: 2308 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210608/6635dcc0/attachment-0001.bin>


More information about the Gcc-patches mailing list