[RV64_DYNAREC] Small optim for F2 0F 5D MINSD opcode (#678)

This commit is contained in:
Yang Liu 2023-04-09 16:10:58 +08:00 committed by GitHub
parent 57e858ccc4
commit ec12de89c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -162,17 +162,11 @@ uintptr_t dynarec64_F20F(dynarec_rv64_t* dyn, uintptr_t addr, uintptr_t ip, int
nextop = F8;
GETGXSD(v0);
GETEXSD(v1, 0);
d0 = sse_get_reg_empty(dyn, ninst, x1, x4, 0);
FMVDX(d0, xZR);
FEQD(x2, v0, d0);
FEQD(x3, v1, d0);
AND(x2, x2, x3);
BNE_MARK(x2, xZR);
FEQD(x2, v0, v0);
FEQD(x3, v1, v1);
AND(x2, x2, x3);
BEQ_MARK(x2, xZR);
FLTD(x2, v1, v0);
FLED(x2, v1, v0);
BEQ_MARK2(x2, xZR);
MARK;
FMVD(v0, v1);