Re: [Qemu-devel] [PATCH] decodetree: Propagate return value from translate subroutines

2018-03-01 Thread Richard Henderson
On 03/01/2018 03:59 AM, Peter Maydell wrote: > On 28 February 2018 at 16:48, Richard Henderson > wrote: >> Allow the translate subroutines to return false for invalid insns. >> >> At present we can of course invoke an invalid insn exception from within >> the translate subroutine, but in the short

Re: [Qemu-devel] [PATCH] decodetree: Propagate return value from translate subroutines

2018-03-01 Thread Peter Maydell
On 28 February 2018 at 16:48, Richard Henderson wrote: > Allow the translate subroutines to return false for invalid insns. > > At present we can of course invoke an invalid insn exception from within > the translate subroutine, but in the short term this consolidates code. > In the long term it w

[Qemu-devel] [PATCH] decodetree: Propagate return value from translate subroutines

2018-02-28 Thread Richard Henderson
Allow the translate subroutines to return false for invalid insns. At present we can of course invoke an invalid insn exception from within the translate subroutine, but in the short term this consolidates code. In the long term it would allow the decodetree language to support overlapping pattern

[Qemu-devel] [PATCH] decodetree: Propagate return value from translate subroutines

2018-02-27 Thread Richard Henderson
Allow the translate subroutines to return false for invalid insns. At present we can of course invoke an invalid insn exception from within the translate subroutine, but in the short term this consolidates code. In the long term it would allow the decodetree language to support overlapping pattern