fix accidental mutation in vec binary ops

This commit is contained in:
Matthew 2026-01-09 20:27:38 +11:00
parent 9f70b8982c
commit 246e7006f5

2
math.d
View File

@ -261,7 +261,7 @@ struct Vector(T, int N)
else static if(op == "/") asm { divps XMM0, XMM1; } else static if(op == "/") asm { divps XMM0, XMM1; }
asm asm
{ {
movups result.x.offsetof[R8], XMM0; movups result.x.offsetof[R10], XMM0;
} }
return result; return result;