JIT: Clean up float loads and stores.

Less code is good, and this should make future changes to memory handling
easier.
This commit is contained in:
magumagu
2014-05-30 21:09:19 -07:00
parent 07da9cbcf4
commit 06864e9fee
6 changed files with 57 additions and 249 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