[pypy-dev] PowerPC 64 bit support

2011-08-09 Thread David Edelsohn
Sven, Attached is a patch that adds 64 bit PowerPC instructions to ppcgen. The backend builds with this patch. I need to understand how to add tests that only run in 64 bit mode because the instruction will fail on a 32 bit PowerPC system as illegal instructions. Thanks, David ppcjit-diff Desc

[pypy-dev] PPC backend design questions

2011-08-09 Thread David Edelsohn
The nop mnemonic is defined twice in ppc_assmbler.py: In class PPCAssembler # F.9 Recommended Simplified Mnemonics nop = BA.ori(rS=0, rA=0, UIMM=0) and in class PPCBuilder def nop(self): self.ori(0, 0, 0) Which one should be removed? I assume the one in PPCBuilder. Some