Hexagon (tests/tcg/hexagon) Clean up Hexagon check-tcg tests
authorTaylor Simpson <tsimpson@quicinc.com>
Fri, 19 May 2023 16:05:59 +0000 (09:05 -0700)
committerTaylor Simpson <tsimpson@quicinc.com>
Fri, 26 May 2023 14:03:41 +0000 (07:03 -0700)
commit0d57cd61d95fbbe86a1ce3b2ef2f8f1254b4116a
treef4cccc3d347a564696be78947b671518532fd2bb
parenta3cb6d5004ff638aefe686ecd540718a793bd1b1
Hexagon (tests/tcg/hexagon) Clean up Hexagon check-tcg tests

Move test infra to header file
    check functions (always print line number on error)
    USR manipulation
    Useful floating point values
Use stdint.h types
Use stdbool.h bool where appropriate
Use trip counts local to for loop

Suggested-by: Anton Johansson <anjo@rev.ng>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Tested-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20230522174341.1805460-1-tsimpson@quicinc.com>
19 files changed:
tests/tcg/hexagon/Makefile.target
tests/tcg/hexagon/atomics.c
tests/tcg/hexagon/brev.c
tests/tcg/hexagon/circ.c
tests/tcg/hexagon/dual_stores.c
tests/tcg/hexagon/fpstuff.c
tests/tcg/hexagon/hex_sigsegv.c
tests/tcg/hexagon/hex_test.h [new file with mode: 0644]
tests/tcg/hexagon/load_align.c
tests/tcg/hexagon/load_unpack.c
tests/tcg/hexagon/mem_noshuf.c
tests/tcg/hexagon/mem_noshuf_exception.c
tests/tcg/hexagon/misc.c
tests/tcg/hexagon/multi_result.c
tests/tcg/hexagon/overflow.c
tests/tcg/hexagon/preg_alias.c
tests/tcg/hexagon/read_write_overlap.c
tests/tcg/hexagon/reg_mut.c
tests/tcg/hexagon/usr.c