From a32689c8324500878efce121d5d25636ce99f638 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Mon, 22 Aug 2016 15:33:47 +0100 Subject: [PATCH] x64/emitter: Implement CMPxxSD instructions --- src/common/x64/emitter.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/common/x64/emitter.h b/src/common/x64/emitter.h index 60a77dfe..9d2090ba 100644 --- a/src/common/x64/emitter.h +++ b/src/common/x64/emitter.h @@ -601,6 +601,14 @@ public: void CMPNLTSS(X64Reg regOp, const OpArg& arg) { CMPSS(regOp, arg, CMP_NLT); } void CMPORDSS(X64Reg regOp, const OpArg& arg) { CMPSS(regOp, arg, CMP_ORD); } + void CMPEQSD(X64Reg regOp, const OpArg& arg) { CMPSD(regOp, arg, CMP_EQ); } + void CMPLTSD(X64Reg regOp, const OpArg& arg) { CMPSD(regOp, arg, CMP_LT); } + void CMPLESD(X64Reg regOp, const OpArg& arg) { CMPSD(regOp, arg, CMP_LE); } + void CMPUNORDSD(X64Reg regOp, const OpArg& arg) { CMPSD(regOp, arg, CMP_UNORD); } + void CMPNEQSD(X64Reg regOp, const OpArg& arg) { CMPSD(regOp, arg, CMP_NEQ); } + void CMPNLTSD(X64Reg regOp, const OpArg& arg) { CMPSD(regOp, arg, CMP_NLT); } + void CMPORDSD(X64Reg regOp, const OpArg& arg) { CMPSD(regOp, arg, CMP_ORD); } + // SSE/SSE2: Floating point packed arithmetic (x4 for float, x2 for double) void ADDPS(X64Reg regOp, const OpArg& arg); void ADDPD(X64Reg regOp, const OpArg& arg);