diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2014-09-02 09:39:43 +0200 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2014-09-02 09:55:47 +0200 |
| commit | a79ced2fc233d5b2d6bdba84e6cd2823eeda1ebd (patch) | |
| tree | 4977549a630f42131ba6434b1bb8749f0c8571ad /Source | |
| parent | c428c5999fcaa15f277b3732843d1d0511b68f45 (diff) | |
x64Emitter: Make it clear for both SSE to int conv that X64 regs are expected
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Common/x64Emitter.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/Core/Common/x64Emitter.h b/Source/Core/Common/x64Emitter.h index 98420f7ee5..58dc313419 100644 --- a/Source/Core/Common/x64Emitter.h +++ b/Source/Core/Common/x64Emitter.h @@ -588,21 +588,23 @@ public: void CVTPS2PD(X64Reg dest, OpArg src); void CVTPD2PS(X64Reg dest, OpArg src); void CVTSS2SD(X64Reg dest, OpArg src); - void CVTSS2SI(X64Reg dest, OpArg src); void CVTSI2SS(X64Reg dest, OpArg src); void CVTSD2SS(X64Reg dest, OpArg src); - void CVTSD2SI(X64Reg dest, OpArg src); void CVTSI2SD(X64Reg dest, OpArg src); void CVTDQ2PD(X64Reg regOp, OpArg arg); void CVTPD2DQ(X64Reg regOp, OpArg arg); void CVTDQ2PS(X64Reg regOp, OpArg arg); void CVTPS2DQ(X64Reg regOp, OpArg arg); - void CVTTSS2SI(X64Reg regOp, OpArg arg); - void CVTTSD2SI(X64Reg regOp, OpArg arg); void CVTTPS2DQ(X64Reg regOp, OpArg arg); void CVTTPD2DQ(X64Reg regOp, OpArg arg); + // Destinations are X64 regs (rax, rbx, ...) for these instructions. + void CVTSS2SI(X64Reg xregdest, OpArg src); + void CVTSD2SI(X64Reg xregdest, OpArg src); + void CVTTSS2SI(X64Reg xregdest, OpArg arg); + void CVTTSD2SI(X64Reg xregdest, OpArg arg); + // SSE2: Packed integer instructions void PACKSSDW(X64Reg dest, OpArg arg); void PACKSSWB(X64Reg dest, OpArg arg); |
