Re: [Qemu-devel] [Qemu-ppc] TCG and branches

2016-07-31 Thread Nikunj A Dadhania
Nikunj A Dadhania writes: > Benjamin Herrenschmidt writes: > >> Hi Richard ! >> >> So in my discovery of TCG, one thing I noticed is the horrendous amount >> of code generated for branches, especially conditional ones. >> > > static inline void gen_bcond(DisasContext *ctx, int type) > { > [...]

Re: [Qemu-devel] [Qemu-ppc] TCG and branches

2016-07-31 Thread Nikunj A Dadhania
Benjamin Herrenschmidt writes: > Hi Richard ! > > So in my discovery of TCG, one thing I noticed is the horrendous amount > of code generated for branches, especially conditional ones. > static inline void gen_bcond(DisasContext *ctx, int type) { [...] if ((bo & 0x4) == 0) { /* Decre