Order of the Butterfly
Posts: 192 from 2009/12/10
From: Minnesota, USA
The PPC famously has 8 condition code registers (CR0-CR7) with 4 bits each stacked into a master CR that holds them all. According to the AI bot on Brave Search, which cited references with few ties to the platform, some condition code registers are scratch (CR0 for integer and CR1 for floating point), but the remaining 6 are sometimes preserved between function calls and others are clobbered at the end of a function along with the stack frame.
Is there any current documentation, either online or in the SDK, that will help me with the Assembly coding knowledge I need to take advantage of the PowerPC user-mode instruction set? I'm writing a code-generation library that can be used by JIT or static compilers. The first will be my E-Compiler, of course, but there are other uses like
this one.