Re: [Qemu-devel] [PATCH 1/5] ppc: Don't generate dead code on unconditional branches

2016-08-06 Thread Richard Henderson
On 07/31/2016 10:43 AM, Benjamin Herrenschmidt wrote: We are always generating the "else" case of the condition even when generating an unconditional branch that will never hit it. Signed-off-by: Benjamin Herrenschmidt --- target-ppc/translate.c | 14 +- 1 file changed, 9 insertion

[Qemu-devel] [PATCH 1/5] ppc: Don't generate dead code on unconditional branches

2016-07-30 Thread Benjamin Herrenschmidt
We are always generating the "else" case of the condition even when generating an unconditional branch that will never hit it. Signed-off-by: Benjamin Herrenschmidt --- target-ppc/translate.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/target-ppc/translate.