make NEON builds work

This commit is contained in:
dzaima 2023-07-19 16:58:35 +03:00
parent 6930bc34b6
commit 03c21112c2

View File

@ -3,6 +3,7 @@ if (hasarch{'X86_64'}) include './sse'
if (hasarch{'PCLMUL'}) include './clmul'
if (hasarch{'AVX2'}) { include './avx'; include './avx2' }
if (hasarch{'BMI2'}) include './bmi2'
if (hasarch{'AARCH64'}) include './neon'
if (hasarch{'AVX512F'}) {
local def mti{s,T} = merge{'_mm512_',s,'_epi',fmtnat{elwidth{T}}}
def load{a:T, n & 512==width{eltype{T}}} = emit{eltype{T}, '_mm512_loadu_si512', a+n}