mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
GP-3211: Code review fixes
This commit is contained in:
parent
8004108681
commit
2853f487a8
16 changed files with 230 additions and 330 deletions
|
@ -1,5 +1,18 @@
|
|||
#include "pcode_test.h"
|
||||
|
||||
#ifdef HAS_DOUBLE
|
||||
TEST f8_compareLogic_Main()
|
||||
{
|
||||
extern f8 f8_compareLogic(f8 lhs, f8 rhs);
|
||||
ASSERTF8(f8_compareLogic(0x1, 0x1), 21);
|
||||
ASSERTF8(f8_compareLogic(0x1, 0x2), 21);
|
||||
ASSERTF8(f8_compareLogic(0x2, 0x1), 22);
|
||||
ASSERTF8(f8_compareLogic(-0x1, -0x1), 21);
|
||||
ASSERTF8(f8_compareLogic(-0x1, -0x2), 21);
|
||||
ASSERTF8(f8_compareLogic(-0x2, -0x1), 24);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Comparison operators */
|
||||
#ifdef HAS_DOUBLE
|
||||
TEST f8_greaterThan_Main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue