From ff6f34aadf5372cb2217c0ebe93947a7f2b2e9ba Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Thu, 6 Feb 2025 18:04:52 +0100 Subject: [INTERPRETER] Small optim on HADDPS and HSUBPS --- src/emu/x64runf20f.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/emu/x64runf20f.c b/src/emu/x64runf20f.c index c8b5e545..aa2d2fa0 100644 --- a/src/emu/x64runf20f.c +++ b/src/emu/x64runf20f.c @@ -354,8 +354,7 @@ uintptr_t RunF20F(x64emu_t *emu, rex_t rex, uintptr_t addr, int *step) GX->f[0] += GX->f[1]; GX->f[1] = GX->f[2] + GX->f[3]; if(EX==GX) { - GX->f[2] = GX->f[0]; - GX->f[3] = GX->f[1]; + GX->q[1] = GX->q[0]; } else { GX->f[2] = EX->f[0] + EX->f[1]; GX->f[3] = EX->f[2] + EX->f[3]; @@ -368,8 +367,7 @@ uintptr_t RunF20F(x64emu_t *emu, rex_t rex, uintptr_t addr, int *step) GX->f[0] -= GX->f[1]; GX->f[1] = GX->f[2] - GX->f[3]; if(EX==GX) { - GX->f[2] = GX->f[0]; - GX->f[3] = GX->f[1]; + GX->q[1] = GX->q[0]; } else { GX->f[2] = EX->f[0] - EX->f[1]; GX->f[3] = EX->f[2] - EX->f[3]; -- cgit 1.4.1