Skip to content
Unverified Commit c666f3b7 authored by Evan Nemerson's avatar Evan Nemerson Committed by GitHub
Browse files

[AltiVec] include altivec.h only when the instructions are available (#315)



sleef.h will use `vector ...` types unprotected on POWER, which
requires including AltiVec just like, for example NEON requires
arm_neon.h.  However, unlike NEON, SVE, and SSE, until this patch
SLEEF required including altivec.h prior to including sleef.h.

Co-authored-by: default avatarNaoki Shibata <shibatch@users.sourceforge.net>
parent 8ef746df
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