f0db9f5759
target/hexagon: add enums for event, cause
...
Reviewed-by: Taylor Simpson <ltaylorsimpson@gmail.com >
Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com >
2024-12-12 21:43:49 -06:00
eed3f35879
target/hexagon: rename HEX_EXCP_*=>HEX_CAUSE_*
...
The values previously used for "HEX_EXCP_*" were the cause code
definitions and not the event numbers. So in this commit, we update
the names to reflect the cause codes. In HEX_EVENT_TRAP0's case, we add
a new "HEX_EVENT_*" with the correct event number.
Reviewed-by: Taylor Simpson <ltaylorsimpson@gmail.com >
Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com >
2024-12-12 21:43:46 -06:00
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
92cfa25fd2
Hexagon (target/hexagon) change variables from int to bool when appropriate
...
Suggested-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <1617930474-31979-8-git-send-email-tsimpson@quicinc.com >
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
2021-05-01 08:31:43 -07:00
45183ccd72
Hexagon (target/hexagon) scalar core definition
...
Add target state header, target definitions and initialization routines
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com >
Message-Id: <1612763186-18161-5-git-send-email-tsimpson@quicinc.com >
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
2021-02-18 07:48:22 -08:00