qemu/tests/tcg/hexagon
Matheus Tavares Bernardino e1b526f1d8 Hexagon: add PC alignment check and exception
The Hexagon Programmer's Reference Manual says that the exception 0x1e
should be raised upon an unaligned program counter. Let's implement that
and also add some tests.

Signed-off-by: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Brian Cain <bcain@quicinc.com>
Message-Id: <277b7aeda2c717a96d4dde936b3ac77707cb6517.1714755107.git.quic_mathbern@quicinc.com>
Signed-off-by: Brian Cain <bcain@quicinc.com>
2024-06-08 17:48:50 -07:00
..
atomics.c Hexagon (tests/tcg/hexagon) Clean up Hexagon check-tcg tests 2023-05-26 07:03:41 -07:00
brev.c Hexagon (tests/tcg/hexagon) Clean up Hexagon check-tcg tests 2023-05-26 07:03:41 -07:00
circ.c Hexagon (tests/tcg/hexagon) Clean up Hexagon check-tcg tests 2023-05-26 07:03:41 -07:00
crt.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
dual_stores.c Hexagon (tests/tcg/hexagon) Clean up Hexagon check-tcg tests 2023-05-26 07:03:41 -07:00
first.S Hexagon (tests/tcg/hexagon) TCG tests - atomics/load/store/misc 2021-02-18 07:48:22 -08:00
float_convd.ref Hexagon (tests/tcg/hexagon) reference file for float_convd 2022-07-31 16:22:09 -07:00
float_convs.ref tests/tcg/multiarch: Read fp flags before printf 2022-01-18 16:44:16 +00:00
float_madds.ref tests/tcg/multiarch: Read fp flags before printf 2022-01-18 16:44:16 +00:00
fpstuff.c hexagon: spelling fixes 2023-09-08 13:08:52 +03:00
hex_sigsegv.c Hexagon (tests/tcg/hexagon) Clean up Hexagon check-tcg tests 2023-05-26 07:03:41 -07:00
hex_test.h Hexagon (tests/tcg/hexagon) Clean up Hexagon check-tcg tests 2023-05-26 07:03:41 -07:00
hvx_histogram_input.h Hexagon HVX (tests/tcg/hexagon) histogram test 2021-11-03 16:01:38 -05:00
hvx_histogram_row.h Hexagon HVX (tests/tcg/hexagon) histogram test 2021-11-03 16:01:38 -05:00
hvx_histogram_row.S Hexagon HVX (tests/tcg/hexagon) histogram test 2021-11-03 16:01:38 -05:00
hvx_histogram.c Hexagon HVX (tests/tcg/hexagon) histogram test 2021-11-03 16:01:38 -05:00
hvx_misc.c Hexagon: fix HVX store new 2024-06-08 17:48:50 -07:00
hvx_misc.h Hexagon (tests/tcg/hexagon) Move HVX test infra to header file 2023-04-21 09:32:52 -07:00
invalid-slots.c Hexagon (decode): look for pkts with multiple insns at the same slot 2023-05-18 12:40:52 -07:00
load_align.c Hexagon (tests/tcg/hexagon) Clean up Hexagon check-tcg tests 2023-05-26 07:03:41 -07:00
load_unpack.c Hexagon (tests/tcg/hexagon) Clean up Hexagon check-tcg tests 2023-05-26 07:03:41 -07:00
Makefile.target Hexagon: add PC alignment check and exception 2024-06-08 17:48:50 -07:00
mem_noshuf_exception.c Hexagon (tests/tcg/hexagon) Clean up Hexagon check-tcg tests 2023-05-26 07:03:41 -07:00
mem_noshuf.c Hexagon (tests/tcg/hexagon) Clean up Hexagon check-tcg tests 2023-05-26 07:03:41 -07:00
misc.c Hexagon (tests/tcg/hexagon) Clean up Hexagon check-tcg tests 2023-05-26 07:03:41 -07:00
multi_result.c Hexagon (tests/tcg/hexagon) Clean up Hexagon check-tcg tests 2023-05-26 07:03:41 -07:00
overflow.c Hexagon (tests/tcg/hexagon) Clean up Hexagon check-tcg tests 2023-05-26 07:03:41 -07:00
preg_alias.c Hexagon (tests/tcg/hexagon) Clean up Hexagon check-tcg tests 2023-05-26 07:03:41 -07:00
read_write_overlap.c Hexagon (tests/tcg/hexagon) Clean up Hexagon check-tcg tests 2023-05-26 07:03:41 -07:00
reg_mut.c Hexagon (tests/tcg/hexagon) Clean up Hexagon check-tcg tests 2023-05-26 07:03:41 -07:00
scatter_gather.c Hexagon (tests/tcg/hexagon) Remove __builtin from scatter_gather 2023-03-06 20:47:12 -08:00
signal_context.c linux-user/hexagon: fix signal context save & restore 2023-01-05 09:19:02 -08:00
test_abs.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_bitcnt.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_bitsplit.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_call.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_clobber.S hexagon: spelling fixes 2023-09-08 13:08:52 +03:00
test_cmp.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_dotnew.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_ext.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_fibonacci.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_hl.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_hwloops.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_jmp.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_lsr.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_mpyi.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_packet.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_reorder.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_round.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_vavgw.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_vcmpb.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_vcmpw.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_vlsrw.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_vmaxh.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_vminh.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_vpmpyh.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
test_vspliceb.S target/hexagon: import additional tests 2022-12-16 12:30:28 -08:00
unaligned_pc.c Hexagon: add PC alignment check and exception 2024-06-08 17:48:50 -07:00
usr.c Hexagon (tests/tcg/hexagon) Clean up Hexagon check-tcg tests 2023-05-26 07:03:41 -07:00
v6mpy_ref.c.inc Hexagon (tests/tcg/hexagon) Add v68 HVX tests 2023-05-18 12:40:51 -07:00
v68_hvx.c Hexagon (tests/tcg/hexagon) Add v68 HVX tests 2023-05-18 12:40:51 -07:00
v68_scalar.c Hexagon (tests/tcg/hexagon) Add v68 scalar tests 2023-05-18 12:40:51 -07:00
v69_hvx.c Hexagon (tests/tcg/hexagon) Add v69 HVX tests 2023-05-18 12:40:51 -07:00
v73_scalar.c Hexagon (tests/tcg/hexagon) Add v73 scalar tests 2023-05-18 12:40:51 -07:00
vector_add_int.c Hexagon HVX (tests/tcg/hexagon) vector_add_int test 2021-11-03 16:01:37 -05:00