summary refs log tree commit diff stats
path: root/gdbstub
diff options
context:
space:
mode:
authorMatheus Tavares Bernardino <quic_mathbern@quicinc.com>2023-05-08 10:37:23 -0300
committerTaylor Simpson <tsimpson@quicinc.com>2023-05-18 12:40:52 -0700
commit14edcf11e297252c995d5909144f3751b7383efc (patch)
tree4bc25926cc6f325aa0d879721ac89d8ebbbf54a6 /gdbstub
parented9b28fb009a7944fcda89c3ced3cb6ad4a92ea1 (diff)
downloadfocaccia-qemu-14edcf11e297252c995d5909144f3751b7383efc.tar.gz
focaccia-qemu-14edcf11e297252c995d5909144f3751b7383efc.zip
Hexagon (decode): look for pkts with multiple insns at the same slot
Each slot in a packet can be assigned to at most one instruction.
Although the assembler generally ought to enforce this rule, we better
be safe than sorry and also do some check to properly throw an "invalid
packet" exception on wrong slot assignments.

This should also make it easier to debug possible future errors caused
by missing updates to `find_iclass_slots()` rules in
target/hexagon/iclass.c.

Co-authored-by: Taylor Simpson <tsimpson@quicinc.com>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Signed-off-by: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
Reviewed-by: Taylor Simpson <tsimpson@quicinc.com>
Tested-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <f8b829443523568823d062adf8bf6659bc6d4a3f.1683552984.git.quic_mathbern@quicinc.com>
Diffstat (limited to 'gdbstub')
0 files changed, 0 insertions, 0 deletions