summary refs log tree commit diff stats
path: root/tests/tcg/hexagon/overflow.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Hexagon (tests/tcg/hexagon) Clean up Hexagon check-tcg testsTaylor Simpson2023-05-261-35/+26
| | | | | | | | | | | | | | | | 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>
* Hexagon (tests/tcg/hexagon) update overflow testTaylor Simpson2022-03-121-1/+60
| | | | | | | | Add a test that sets USR multiple times in a packet Signed-off-by: Taylor Simpson <tsimpson@quicinc.com> Message-Id: <20220210021556.9217-9-tsimpson@quicinc.com> Acked-by: Richard Henderson <richard.henderson@linaro.org>
* Hexagon (target/hexagon) put writes to USR into temp until commitTaylor Simpson2021-10-281-0/+107
Change SET_USR_FIELD to write to hex_new_value[HEX_REG_USR] instead of hex_gpr[HEX_REG_USR]. Then, we need code to mark the instructions that can set implicitly set USR - Macros added to hex_common.py - A_FPOP added in translate.c Test case added in tests/tcg/hexagon/overflow.c Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>