From e4dd65305a046019123ab34ebdcbe761a3a719ca Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sat, 1 Dec 2018 01:09:01 +0000 Subject: math: new pow from https://github.com/ARM-software/optimized-routines, commit 04884bd04eac4b251da4026900010ea7d8850edc The underflow exception is signaled if the result is in the subnormal range even if the result is exact. code size change: +3421 bytes. benchmark on x86_64 before, after, speedup: -Os: pow rthruput: 102.96 ns/call 33.38 ns/call 3.08x pow latency: 144.37 ns/call 54.75 ns/call 2.64x -O3: pow rthruput: 98.91 ns/call 32.79 ns/call 3.02x pow latency: 138.74 ns/call 53.78 ns/call 2.58x --- src/internal/libm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/internal') diff --git a/src/internal/libm.h b/src/internal/libm.h index 9cd105fc..05f14e48 100644 --- a/src/internal/libm.h +++ b/src/internal/libm.h @@ -68,6 +68,7 @@ union ldshape { #error SNaN is unsupported #else #define issignalingf_inline(x) 0 +#define issignaling_inline(x) 0 #endif #ifndef TOINT_INTRINSICS -- cgit v1.2.1