mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-25 21:51:47 +00:00
AArch32: fixed sha1su0.32
* fixed destructive 64-bit left shift on a 64-bit value before zext
This commit is contained in:
parent
cae9190c13
commit
614d50fcfa
@ -619,9 +619,9 @@ define pcodeop SHA1HashUpdateParity;
|
||||
local op1 = Qd;
|
||||
local op2 = Qn;
|
||||
local op3 = Qm;
|
||||
local op2lo:8 = op2(0);
|
||||
local op1hi:8 = op1(8);
|
||||
op2 = zext(op2lo << 64) | zext(op1hi);
|
||||
local op2LowerHalf = zext(op2[0,64]) << 64;
|
||||
local op1UpperHalf = zext(op1[64,64]);
|
||||
op2 = op2LowerHalf | op1UpperHalf;
|
||||
Qd = op1 ^ op2 ^ op3;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user