Page 1 of 1

Optimizing matrix arithmetics, is it possible?

Posted: Tue Mar 02, 2010 4:21 pm
by lupidan
¿Could it be posible using some component on Wii's hardware?
I know this is a very stupid question, but I need this info for a possible project in a college course.

Anyone know's where can I find detailed info about Wii's hardware, registers, etc...? Not Wiibrew's wiki, I mean really detailed info.
Thanks in advance.

Re: Optimizing matrix arithmetics, is it possible?

Posted: Sat Mar 06, 2010 2:08 pm
by ccfreak2k
The guMtx* functions (at least some of them) are hand-written in PowerPC assembly to take advantage of the Gekko CPU's paired-single instructions if GEKKO is defined, and those can be found in the source package in libogc/gu_psasm.S; the C fallbacks have c_ as a prefix. The Wii's CPU itself is speculated to be very closely related if not identical to the PowerPC 750CL, and the 750CL is thought to be a close relative of the Gekko CPU, so the most optimal code for all three is probably going to be the same.