mbox series

[0/2] Hexagon: update and enforce hintjr slot constraints

Message ID cover.1673616964.git.quic_mathbern@quicinc.com (mailing list archive)
Headers show
Series Hexagon: update and enforce hintjr slot constraints | expand

Message

Matheus Tavares Bernardino Jan. 13, 2023, 1:39 p.m. UTC
This small series basically fix an outdated hexagon slot rule for
instruction hintjr and makes the decode machinery more resilient against
any possible outdated slot constraints in the future.

Matheus Tavares Bernardino (2):
  Hexagon (iclass): update J4_hintjumpr slot constraints
  Hexagon (decode): look for pkts with multiple insns at the same slot

 target/hexagon/decode.c           | 30 +++++++++++++++++++++++++++---
 target/hexagon/iclass.c           |  4 +++-
 tests/tcg/hexagon/Makefile.target | 10 ++++++++++
 tests/tcg/hexagon/invalid_slots.c | 29 +++++++++++++++++++++++++++++
 4 files changed, 69 insertions(+), 4 deletions(-)
 create mode 100644 tests/tcg/hexagon/invalid_slots.c