URL
https://opencores.org/ocsvn/theia_gpu/theia_gpu/trunk
Subversion Repositories theia_gpu
[/] [theia_gpu/] [branches/] [beta_2.0/] [regressions/] [single_core/] [test_omem_1.vp] - Rev 227
Go to most recent revision | Compare with Previous | Blame | View Log
vector v1,v2,v3;
v1 = (0xcafe,0xcafe,0xcafe);
v2 = (0x1E11,0x1E11,0x1E11);
v3 = 0xbabe;
out[0] = v1 - v2; //0xaced
out[1] = v1; //0xcafe
out[2] = v3; //0xbabe
v3.x = 4;
v3.y = 5;
v3.z = 6;
v1.x = 0xbeef;
v1.y = 0xfeed;
v1.z = 0xfaaa;
out[ v3 ] = v1;
v2 = v1;
v2 = v1;
v2 = v1;
v2 = v1;
v2 = v1;
exit;
Go to most recent revision | Compare with Previous | Blame | View Log