mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(MMX): added PSRLD instruction.
This commit is contained in:
parent
5b6f4e2c27
commit
7ddc894742
@ -291,6 +291,14 @@ namespace GameRes.Formats
|
||||
mask |= mask << 32;
|
||||
return (x << count) & mask;
|
||||
}
|
||||
|
||||
public static ulong PSrlD (ulong x, int count)
|
||||
{
|
||||
count &= 0x1F;
|
||||
ulong mask = 0xFFFFFFFFu >> count;
|
||||
mask |= mask << 32;
|
||||
return (x >> count) & mask;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Dump
|
||||
|
Loading…
x
Reference in New Issue
Block a user