Slightly shorter version of 16-bit BSWAP.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1726 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
magumagu9 2008-12-31 20:46:55 +00:00
parent 05df5c8f3f
commit 2e58a5bef0
1 changed files with 1 additions and 3 deletions

View File

@ -576,9 +576,7 @@ enum NormalSSEOps
}
else if (bits == 16)
{
//fake 16-bit bswap, TODO replace with xchg ah, al where appropriate
WriteSimple2Byte(false, 0x0F, 0xC8, reg);
SHR(32, R(reg), Imm8(16));
ROL(16, R(reg), Imm8(8));
}
else if (bits == 8)
{