mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 15:59:23 +01:00
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:
parent
05df5c8f3f
commit
2e58a5bef0
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user