mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
Merge remote-tracking branch
'origin/GP-3155_caheckman_PR-2810_Pokechu22_countleadingzeros' (Closes #2810)
This commit is contained in:
@@ -117,7 +117,6 @@ define context contextreg
|
||||
ARMcondCk = (35,35) # Finished ARM condition check phase
|
||||
;
|
||||
|
||||
define pcodeop count_leading_zeroes;
|
||||
define pcodeop coprocessor_function;
|
||||
define pcodeop coprocessor_function2;
|
||||
define pcodeop coprocessor_load;
|
||||
|
||||
@@ -1627,7 +1627,7 @@ define pcodeop IndexCheck;
|
||||
:clz^ItCond Rd0811,Rm0003 is TMode=1 & ItCond & op4=0xfab & Rm0003; op12=15 & Rd0811
|
||||
{
|
||||
build ItCond;
|
||||
Rd0811 = count_leading_zeroes(Rm0003);
|
||||
Rd0811 = lzcount(Rm0003);
|
||||
}
|
||||
|
||||
:cmn^ItCond Rn0003,ThumbExpandImm12 is TMode=1 & ItCond & (op11=0x1e & thc0909=0 & sop0508=8 & thc0404=1 & Rn0003; thc1515=0 & thc0811=15) & ThumbExpandImm12
|
||||
|
||||
@@ -2484,7 +2484,7 @@ ArmPCRelImmed12: reloff is U23=0 & immed & rotate
|
||||
{
|
||||
build COND;
|
||||
build rm;
|
||||
Rd = count_leading_zeroes(rm);
|
||||
Rd = lzcount(rm);
|
||||
}
|
||||
|
||||
@endif # VERSION_5
|
||||
|
||||
Reference in New Issue
Block a user