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

fix condition to throw error for SSE instructions when using XMM16-XMM31 #141

Closed xuxinzen closed 2 years ago

xuxinzen commented 2 years ago

Because SSE instructions do not support xmm16-xmm31, I think it would be great if xbyak will throw an exception in these cases.

herumi commented 2 years ago

Thank you for the patch. I've merged it.