mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
GP-3211: Refactored pcodetest scripts
This commit is contained in:
parent
8936bf9d55
commit
8004108681
7 changed files with 95 additions and 35 deletions
|
@ -29,19 +29,6 @@ f4 f4_compareLogic(f4 lhs, f4 rhs)
|
|||
return lhs;
|
||||
}
|
||||
|
||||
f8 f8_compareLogic(f8 lhs, f8 rhs)
|
||||
{
|
||||
if (lhs < 0)
|
||||
lhs += 2;
|
||||
if (lhs > 0)
|
||||
lhs += 4;
|
||||
if (lhs == 0)
|
||||
lhs += 8;
|
||||
if (lhs != rhs)
|
||||
lhs += 16;
|
||||
return lhs;
|
||||
}
|
||||
|
||||
/* Comparison operators */
|
||||
f4 f4_greaterThan(f4 lhs, f4 rhs)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue