Skip to content
Unverified Commit 6f1189c8 authored by Naoki Shibata's avatar Naoki Shibata Committed by GitHub
Browse files

Add OpenMP SIMD pragma to function declarations in sleef.h (#404)

This patch adds vector ABI aliases to the vector functions.
It also adds "omp declare simd" pragma to the declaration of scalar functions in sleef.h.
This pragma is only enabled if SLEEF_ENABLE_OMP_SIMD is defined.
By the modifications above, the auto-vectorizer in gcc can convert calls to sleef scalar functions to the corresponding vector functions.
parent 263098d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment