mbox series

[v2,0/2] target/m68k: Reject immediate as destination

Message ID 20230309201604.3885359-1-richard.henderson@linaro.org
Headers show
Series target/m68k: Reject immediate as destination | expand

Message

Richard Henderson March 9, 2023, 8:16 p.m. UTC
The translate.c fix is extracted from a larger patch set.
I then add a test case and fix cpu_loop to raise the proper signal.


r~


Richard Henderson (2):
  target/m68k: Reject immediate as destination in gen_ea_mode
  linux-user/m68k: Handle EXCP_ADDRESS in cpu_loop

 linux-user/m68k/cpu_loop.c     |  5 ++++-
 target/m68k/translate.c        |  4 ++++
 tests/tcg/m68k/excp-address.c  | 32 ++++++++++++++++++++++++++++++++
 tests/tcg/m68k/Makefile.target |  1 +
 4 files changed, 41 insertions(+), 1 deletion(-)
 create mode 100644 tests/tcg/m68k/excp-address.c