(MMX): added PSRLD instruction.

This commit is contained in:
morkt 2017-03-12 05:39:17 +04:00
parent 5b6f4e2c27
commit 7ddc894742

View File

@ -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