RE: [PATCH v2] Hexagon (decode): look for pkts with multiple insns at the same slot

2023-05-09 Thread Taylor Simpson
> -Original Message- > From: Taylor Simpson > Sent: Tuesday, May 9, 2023 11:46 AM > To: Matheus Tavares Bernardino ; qemu- > de...@nongnu.org > Subject: RE: [PATCH v2] Hexagon (decode): look for pkts with multiple insns > at the same slot > > > > > -Original Message- > >

RE: [PATCH v2] Hexagon (decode): look for pkts with multiple insns at the same slot

2023-05-09 Thread Taylor Simpson
> -Original Message- > From: Matheus Tavares Bernardino > Sent: Monday, May 8, 2023 8:37 AM > To: qemu-devel@nongnu.org > Cc: Taylor Simpson > Subject: [PATCH v2] Hexagon (decode): look for pkts with multiple insns at > the same slot > > Each slot in a packet can be assigned to at

[PATCH v2] Hexagon (decode): look for pkts with multiple insns at the same slot

2023-05-08 Thread Matheus Tavares Bernardino
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