search for: sad_c

Displaying 3 results from an estimated 3 matches for "sad_c".

Did you mean: sad
2014 Nov 11
3
[LLVMdev] supporting SAD in loop vectorizer
....edu > Sent: Tuesday, November 4, 2014 12:15:12 PM > Subject: RE: [LLVMdev] supporting SAD in loop vectorizer > > Here's the simple SAD code: > --------------------------------------------------- > 1 #include <stdlib.h> > 2 > 3 extern int ly,lx; > 4 int sad_c( unsigned char *pix1, unsigned char *pix2) > 5 { > 6 int i_sum = 0; > 7 for( int x = 0; x < lx; x++ ) > 8 i_sum += abs( pix1[x] - pix2[x] ); > 9 return i_sum; > 10 } > 11 > -----------------------------------...
2014 Nov 11
4
[LLVMdev] supporting SAD in loop vectorizer
...r 4, 2014 12:15:12 PM > > Subject: RE: [LLVMdev] supporting SAD in loop vectorizer > > > > Here's the simple SAD code: > > --------------------------------------------------- > > 1 #include <stdlib.h> > > 2 > > 3 extern int ly,lx; > > 4 int sad_c( unsigned char *pix1, unsigned char *pix2) > > 5 { > > 6 int i_sum = 0; > > 7 for( int x = 0; x < lx; x++ ) > > 8 i_sum += abs( pix1[x] - pix2[x] ); > > 9 return i_sum; > > 10 } > > 11 > > ----------------------------------------------------- >...
2014 Nov 04
3
[LLVMdev] supporting SAD in loop vectorizer
----- Original Message ----- > From: "Renato Golin" <renato.golin at linaro.org> > To: "Dibyendu Das" <Dibyendu.Das at amd.com> > Cc: llvmdev at cs.uiuc.edu > Sent: Tuesday, November 4, 2014 5:23:30 AM > Subject: Re: [LLVMdev] supporting SAD in loop vectorizer > > On 4 November 2014 11:06, Das, Dibyendu <Dibyendu.Das at amd.com> wrote: