mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
More 32-bit speed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@164 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -669,6 +669,10 @@ namespace Gen
|
||||
void MOVSX(int dbits, int sbits, X64Reg dest, OpArg src)
|
||||
{
|
||||
if (src.IsImm()) _assert_msg_(DYNA_REC, 0, "MOVSX - Imm argument");
|
||||
if (dbits == sbits) {
|
||||
MOV(dbits, R(dest), src);
|
||||
return;
|
||||
}
|
||||
src.operandReg = (u8)dest;
|
||||
if (dbits == 16) Write8(0x66);
|
||||
src.WriteRex(dbits == 64);
|
||||
@ -696,6 +700,10 @@ namespace Gen
|
||||
void MOVZX(int dbits, int sbits, X64Reg dest, OpArg src)
|
||||
{
|
||||
if (src.IsImm()) _assert_msg_(DYNA_REC, 0, "MOVZX - Imm argument");
|
||||
if (dbits == sbits) {
|
||||
MOV(dbits, R(dest), src);
|
||||
return;
|
||||
}
|
||||
src.operandReg = (u8)dest;
|
||||
if (dbits == 16) Write8(0x66);
|
||||
src.WriteRex(dbits == 64);
|
||||
|
Reference in New Issue
Block a user