Merge remote-tracking branch

'origin/GP-4777_ghidracadabra_PR-6514_Sleigh-InSPECtor_x86_packuswb_off_by_one'
(Closes #6514)
This commit is contained in:
Ryan Kurtz
2024-07-18 11:16:05 -04:00
+1 -1
View File
@@ -6364,7 +6364,7 @@ define pcodeop packssdw;
#otherwise ubyte = sword
macro sswub(sword, ubyte) {
ubyte = (sword s> 0xff:2) * 0xff:1;
ubyte = ubyte + (sword s> 0:2) * (sword s< 0xff:2) * sword:1;
ubyte = ubyte + (sword s> 0:2) * (sword s<= 0xff:2) * sword:1;
}
:PACKUSWB mmxreg, m64 is vexMode=0 & mandover=0 & byte=0x0F; byte=0x67; mmxreg ... & m64