On 12/16/2017 09:49 PM, Paolo Bonzini wrote: > We know that only one bit (in addition to SO) is going to be set in > the condition register, so do two movconds instead of three setconds, > three shifts and two ORs. > > For ppc64-linux-user, the code size reduction is around 5% and the > performance improvement slightly less than 10%. For softmmu, the > improvement is around 5%. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > target/ppc/translate.c | 29 ++++++++++++----------------- > 1 file changed, 12 insertions(+), 17 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~