PDA

View Full Version : matrix hardware demo



Guaripolo
April 10th, 2008, 14:47
Well, this is my first demo (in fact is a remix of various codes AWEHAUWheUAHW). It shows a matrix multiplication with hardware (sh4 ftrv instruction) and software (made with adds and muls WAHEUhaWUEH).

It uses the kos mat_load (load a matrix into the xmtrx registers), mat_apply (multiply xmtrx with another matrix) and mat_store (load a matrix from xmtrx to a variable) functions.
I´ve noted that all the matrix´s has to be transposed, and the result is transposed too, or something like that AWJEIjaWIjeAIje.

NOTE: AWEHUAHWEUahU is a laugh in brazillian.

http://www.savefile.com/files/1495704


ÂWEUHWAUehAUHwUEHA...

EDIT: this isn´t compiled, so you need the toolchain (i use the dcdevr3).

quzar
April 10th, 2008, 15:00
hah, I saw this randomly on nopaste.

attached here

Guaripolo
April 10th, 2008, 18:31
hah, I saw this randomly on nopaste.

attached here

i don´t understand

(nao comprender)

AWEHawhEUhAUWheahw...

Thanks for the attachment!