The following C code implements a four-tap FIR (Finite impulseresponse) filter on input array sig_in. Assume that all arrays are16-bit fixed-point values.
for (i = 3; I < 128; i++)
sig_out[i] = sig_in[i − 3] * f[0] + sig_in[i − 2] * f[1] + sig_in[i− 1] * f[2] + sig_in[i] * f[3]; //Four-tap FIR or response to anyfinite length input
Assume you are to write an optimized implementation of this code inassembly language on a processor that has SIMD instructions and128-bit registers.
Without knowing the details of the instruction set, brieflydescribe how you would implement this code, maximizing the use ofsub-word operations and minimizing
PayPal Gateway not configured
PayPal Gateway not configured