DSPRelated.com
Forums

a little assembly routine needed

Started by MS privat June 24, 2003
Hi,
can anyone help me out with two ("optimized") assembly routines for C6211
subtracting two buffers?

source1 : 1D array of 8bit unsigned a[i]
source2 : 1D array 8bit unsigned b[i]

destination version a) 1D array of signed 16bit (a[i] - b[i])
destination version b) 1D array of unsigned 16bit abs(a[i] -
b[i])

Buffer length will be around 512 items each. I can make it a constant length
and ==0 modulo 4 if it helps Any solution is appreciated ... for free or for (hopefully low :) ) money. If anyone knows compiler switches and/or pragmas / loopp unrolling or
whatever that does the job , please tell me :) thanks a lot :)

please send your offers to my private email

Micha