Re: [Qemu-devel] [PATCH] target/arm: Make disas_thumb2_insn() generate its own UNDEF exceptions

2018-01-09 Thread Peter Maydell
On 12 December 2017 at 17:39, Richard Henderson wrote: > On 12/12/2017 04:08 AM, Peter Maydell wrote: >> Refactor disas_thumb2_insn() so that it generates the code for raising >> an UNDEF exception for invalid insns, rather than returning a flag >> which the caller

Re: [Qemu-devel] [PATCH] target/arm: Make disas_thumb2_insn() generate its own UNDEF exceptions

2017-12-12 Thread Richard Henderson
On 12/12/2017 04:08 AM, Peter Maydell wrote: > Refactor disas_thumb2_insn() so that it generates the code for raising > an UNDEF exception for invalid insns, rather than returning a flag > which the caller must check to see if it needs to generate the UNDEF > code. This brings the function in to

[Qemu-devel] [PATCH] target/arm: Make disas_thumb2_insn() generate its own UNDEF exceptions

2017-12-12 Thread Peter Maydell
Refactor disas_thumb2_insn() so that it generates the code for raising an UNDEF exception for invalid insns, rather than returning a flag which the caller must check to see if it needs to generate the UNDEF code. This brings the function in to line with the behaviour of disas_thumb_insn() and