Add ppc support and testcase