GP-3211: Refactored pcodetest scripts

This commit is contained in:
ghidorahrex 2023-08-15 15:53:42 +00:00
parent 8936bf9d55
commit 8004108681
7 changed files with 95 additions and 35 deletions

View file

@ -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)
{