summaryrefslogtreecommitdiff
path: root/Source/Core/Common/x64Emitter.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-06-26 21:32:59 -0400
committerLioncash <mathew1800@gmail.com>2014-06-26 21:32:59 -0400
commitbd377b9580c65ea6937b3cc7fc254d87683f360b (patch)
treefb6e895aefed78c47a470d01fbbea61036d185db /Source/Core/Common/x64Emitter.cpp
parent11d304ae29b944b83e9962f2963f6d8556a0aa0f (diff)
parenteeb7fc25f4046c6e039cc676958899fbc1e69edb (diff)
Merge pull request #443 from magumagu/loadstore-cleanup
Loadstore cleanup
Diffstat (limited to 'Source/Core/Common/x64Emitter.cpp')
-rw-r--r--Source/Core/Common/x64Emitter.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/Core/Common/x64Emitter.cpp b/Source/Core/Common/x64Emitter.cpp
index 84bc430f3b..59b764389c 100644
--- a/Source/Core/Common/x64Emitter.cpp
+++ b/Source/Core/Common/x64Emitter.cpp
@@ -1286,9 +1286,7 @@ void XEmitter::MOVQ_xmm(X64Reg dest, OpArg arg) {
}
void XEmitter::MOVQ_xmm(OpArg arg, X64Reg src) {
- if (arg.IsSimpleReg())
- PanicAlert("Emitter: MOVQ_xmm doesn't support single registers as destination");
- if (src > 7)
+ if (src > 7 || arg.IsSimpleReg())
{
// Alternate encoding
// This does not display correctly in MSVC's debugger, it thinks it's a MOVD