qemu/linux-user/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
..
cpu_loop.c Hexagon: add PC alignment check and exception 2024-06-08 17:48:50 -07:00
signal.c linux-user: Move tswap_siginfo out of target code 2024-03-13 11:43:52 +00:00
sockbits.h Hexagon (linux-user/hexagon) Linux user emulation 2021-02-18 07:48:22 -08:00
syscall_nr.h linux-user: update syscall_nr.h to Linux v5.13 2021-07-13 13:59:59 +02:00
target_cpu.h Hexagon (linux-user/hexagon) Linux user emulation 2021-02-18 07:48:22 -08:00
target_elf.h Hexagon: append eflags to unknown cpu model string 2023-05-18 12:40:52 -07:00
target_errno_defs.h linux-user: Extract target errno to 'target_errno_defs.h' 2021-07-12 21:53:35 +02:00
target_fcntl.h Hexagon (linux-user/hexagon) Linux user emulation 2021-02-18 07:48:22 -08:00
target_mman.h linux-user: Define ELF_ET_DYN_BASE in $guest/target_mman.h 2023-08-08 13:27:15 -07:00
target_prctl.h linux-user: Split out do_prctl and subroutines 2022-01-06 11:40:52 +01:00
target_proc.h linux-user: Split out cpu/target_proc.h 2023-09-01 13:33:09 -07:00
target_resource.h linux-user: Move generic TARGET_RLIMIT* definitions to generic/target_resource.h 2022-02-01 08:01:38 +01:00
target_signal.h Clean up decorations and whitespace around header guards 2022-05-11 16:50:32 +02:00
target_structs.h linux-user: Move target_struct.h generic definitions to generic/ 2022-01-11 18:40:44 +01:00
target_syscall.h Hexagon (linux-user/hexagon) Linux user emulation 2021-02-18 07:48:22 -08:00
termbits.h Hexagon (linux-user/hexagon) Linux user emulation 2021-02-18 07:48:22 -08:00