The first patch fixes the problem reported by agraf here: http://lists.gnu.org/archive/html/qemu-devel/2013-03/msg03747.html
The subsequent patches use the macro added in the first patch to remove a bunch of conditional compilation. With this (or even just the first patch), I can boot Alex's test kernel all the way to the no rootfs panic. r~ Richard Henderson (5): target-ppc: Fix add and subf carry generation in narrow mode target-ppc: Use NARROW_MODE macro for branches target-ppc: Use NARROW_MODE macro for comparisons target-ppc: Use NARROW_MODE macro for addresses target-ppc: Use NARROW_MODE macro for tlbie target-ppc/translate.c | 225 ++++++++++++++++++++++++------------------------- 1 file changed, 109 insertions(+), 116 deletions(-) -- 1.8.1.4