porting to powerpc