upstream changes for src/ppc/codegen-ppc.cc