Optimizing matrix arithmetics, is it possible?

Post Reply
lupidan
Posts: 7
Joined: Wed Jun 24, 2009 10:44 am

Optimizing matrix arithmetics, is it possible?

Post by lupidan » Tue Mar 02, 2010 4:21 pm

¿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.

ccfreak2k
Posts: 14
Joined: Sat Mar 06, 2010 1:11 pm

Re: Optimizing matrix arithmetics, is it possible?

Post by ccfreak2k » Sat Mar 06, 2010 2:08 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests