leave simd inline example for now

This commit is contained in:
matthew 2025-07-14 08:31:00 +10:00
parent 0e03058714
commit ad08d31f6a

View File

@ -19,6 +19,22 @@ void main()
r.Renderer rd = r.Init(&window);
scope(exit) r.Destroy(&rd);
/*
Vec4 f1 = Vec4(r: 2.0, a: 5.5);
Vec4 f2;
Vec4* f = &f1;
asm
{
mov R8, f;
movups XMM0, f1.r.offsetof[R8];
movups f2, XMM0;
}
writeln(f2);
*/
while (true)
{
p.HandleEvents(&window);