herumi / xbyak

A JIT assembler for x86/x64 architectures supporting MMX, SSE (1-4), AVX (1-2, 512), FPU, APX, and AVX10.2
BSD 3-Clause "New" or "Revised" License
2.05k stars 278 forks source link

What different with intel AVX intrinsics? #119

Closed Zjq9409 closed 3 years ago

Zjq9409 commented 3 years ago

Intel AVX intrinsics also use to Vectorization,what different between them?

herumi commented 3 years ago

AVX intrinsics generates codes in a compile time. Xbyak functions generate codes in runtime. cf. https://github.com/herumi/xbyak/blob/master/sample/calc.cpp