Merge pull request #443 from magumagu/loadstore-cleanup

Loadstore cleanup
This commit is contained in:
Lioncash
2014-06-26 21:32:59 -04:00
9 changed files with 79 additions and 387 deletions

View File

@ -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