search for: muthyala

Displaying 2 results from an estimated 2 matches for "muthyala".

2015 Jan 28
5
[LLVMdev] RFC: generation of PSAD instruction
...nd indeed, people have mentioned SAD as another potential user. I need to look into how the cost model interacts with the reduction variable identification (it doesn't?), and will come up with a patch soon! -Ahmed > > -Hal > > ----- Original Message ----- >> From: "Vj Muthyala" <Vj.Muthyala at amd.com> >> To: llvmdev at cs.uiuc.edu >> Sent: Tuesday, January 27, 2015 10:14:44 PM >> Subject: [LLVMdev] RFC: generation of PSAD instruction >> >> Hello, >> >> I was looking at the following test case which is very relevant in...
2015 Jan 28
2
[LLVMdev] RFC: generation of PSAD instruction
Hello, I was looking at the following test case which is very relevant in imaging applications. int sad(unsigned char *pix1, unsigned char *pix2) { int sum = 0; for( int x = 0; x < 16; x++ ) { sum += abs( pix1[x] - pix2[x] ); } return sum; } The llvm IR generated after all the IR