Go to the documentation of this file.
59 static float ff_dot_productf_mips(
const float*
a,
const float*
b,
63 const float* a_end = a +
length;
66 "mtc1 $zero, %[sum] \n\t"
67 "blez %[length], ff_dot_productf_end%= \n\t"
68 "ff_dot_productf_madd%=: \n\t"
69 "lwc1 $f2, 0(%[a]) \n\t"
70 "lwc1 $f1, 0(%[b]) \n\t"
73 "madd.s %[sum], %[sum], $f1, $f2 \n\t"
74 "bne %[a], %[a_end], ff_dot_productf_madd%= \n\t"
75 "ff_dot_productf_end%=: \n\t"
77 : [sum]
"=&f" (sum), [a]
"+r" (a), [
b]
"+r" (
b)
79 :
"$f1",
"$f2",
"memory"