Th e following C code implements a four-tap FIR filter on input array sig_in. Assume that all

Question:

Th e following C code implements a four-tap FIR filter on input array sig_in. Assume that all arrays are 16-bit fixed point values.

for (i= 3;i<128;i++) sig_out[i]=sig_in[i-3] +sig_in[i-1] * f[2]+sig_in[i] * f[3]; * f [0]+sig_in[i- 2] * f[1]

Assume you are to write an optimized implementation this code in assembly language on a processor that has SIMD instructions and 128-bit registers. Without knowing the details of the instruction set, briefly describe how you would implement this code, maximizing the use of sub word operations and minimizing the amount of data that is transferred between registers and memory. State all your assumptions about the instructions you use.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: