Closed esaulenka closed 4 years ago
It looks like the issue, across my whole implementation, is the usage of abs().
Hopefully this isn't in the wrong direction, but I have put a PR in https://github.com/NationalSecurityAgency/ghidra/pull/1286
Thanks again @esaulenka looks merged in master
@mumbel, if you dont mind, i will continue describe bugs in tricore sleigh here.
Describe the bug According to
p-Code operation manual
,abs()
function, that used indvadj
constructor, dealing with float-point operands, but any values, used indvinit / dvstep / dvadj
should be integer.To Reproduce Look at decompiled function, that uses
dvadj
Expected behavior I didnt fully understand, how
dvXXX
works, but according to tricore architecture manual, it should be redone as follows: