// Compilation: // spu-gcc -I/opt/cell/sdk/usr/spu/include/ -L/opt/cell/sdk/usr/spu/lib -O3 -o lme large_matrix_example.c -llarge_matrix #include #include #include //#include #define TIMEBASE 79800000 // from /proc/cpuinfo #define N 128 float a[N][N] __attribute__((aligned(16))); float b[N][N] __attribute__((aligned(16))); float c[N][N] __attribute__((aligned(16))); int main() { uint64_t clk0,clk1; int i,j; spu_clock_start(); for (i=0;i