diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2015-01-23 21:47:03 -0600 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2015-01-23 21:47:03 -0600 |
| commit | 088b6b2ec361ae3b2eb36aca61489ef8581472cf (patch) | |
| tree | d93276e152f89ea0c6dcfd35a5446c8078f11e4e /Source/Core/Common | |
| parent | d544cc3c687e58338700858fb0ede927a4517ea5 (diff) | |
| parent | 3106b20fbec2487c29f11feac24bd912d7372293 (diff) | |
Merge pull request #1081 from phire/jitil-float-mem-opts
JitIL Float load/store optimizations.
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/x64Emitter.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/Common/x64Emitter.h b/Source/Core/Common/x64Emitter.h index 48a1eae3b1..1c32c54969 100644 --- a/Source/Core/Common/x64Emitter.h +++ b/Source/Core/Common/x64Emitter.h @@ -632,6 +632,11 @@ public: void MOVHLPS(X64Reg regOp1, X64Reg regOp2); void MOVLHPS(X64Reg regOp1, X64Reg regOp2); + // Be careful when using these overloads for reg <--> xmm moves. + // The one you cast to OpArg with R(reg) is the x86 reg, the other + // one is the xmm reg. + // ie: "MOVD_xmm(eax, R(xmm1))" generates incorrect code (movd xmm0, rcx) + // use "MOVD_xmm(R(eax), xmm1)" instead. void MOVD_xmm(X64Reg dest, const OpArg &arg); void MOVQ_xmm(X64Reg dest, OpArg arg); void MOVD_xmm(const OpArg &arg, X64Reg src); |
