sleef
sleef copied to clipboard
SIMD Library for Evaluating Elementary Functions, vectorized libm and DFT
Hi, is there any plan to support RISC-V extension "V"? Intrinsics are available --> A cross compiler and an emulator is available in the official github of RISC-V --> Compiling...
Do you plan to support xlc on ppc64el? You can use the community edition I think which is available through the IBM apt repo: ``` deb http://public.dhe.ibm.com/software/server/POWER/Linux/xl-compiler/eval/ppc64le/ubuntu/ xenial main ```...
Hi Sleef, I am the maintainer of NSIMD (https://github.com/agenium-scale/nsimd) and I would like to include Sleef in NSIMD and extend the C and C++ APIs of NSIMD to call Sleef...
Similar to 75b62aafe98279b1df636b1aaa330189ef637e53 (#396) for better support of MinGW. This fixes the regression caused by #266 when building for mingw under msys2. Seem that the solution from https://github.com/shibatch/sleef/pull/266#issuecomment-552765599 is implemented.
This fixes warnings that would otherwise be emitted by ``gcc -Wall test.c -c -Iinclude -mavx2 -O2 -mfma -ffp-contract=off" on the below test.c ``` #include #include #include #include #include #include #include...
https://github.com/shibatch/sleef/blob/85440a5e87dae36ca1b891de14bc83b441ae7c43/src/libm/sleefsp.c#L1031 This line can be simplified to `if (!o && d < 0) r = 3.1415927410125732422f - r;`
https://github.com/shibatch/sleef/blob/85440a5e87dae36ca1b891de14bc83b441ae7c43/src/libm/sleefsp.c#L71 `int xsignbitf(double d)` should probably use float instate of double.
Will allow you to find with find_package(sleef) and use with target_link_libraries(${TARGET_NAME} sleef::sleef). Only basic right now as I am unfamilar with the project and not sure if there are any...
The SIMD implementations of `erf` redefine `C2V` but does not restore original definition.
If not, is there any advice for starting to implement a new SIMD target?