yading@11: /* yading@11: * Copyright (c) 2012 yading@11: * MIPS Technologies, Inc., California. yading@11: * yading@11: * Redistribution and use in source and binary forms, with or without yading@11: * modification, are permitted provided that the following conditions yading@11: * are met: yading@11: * 1. Redistributions of source code must retain the above copyright yading@11: * notice, this list of conditions and the following disclaimer. yading@11: * 2. Redistributions in binary form must reproduce the above copyright yading@11: * notice, this list of conditions and the following disclaimer in the yading@11: * documentation and/or other materials provided with the distribution. yading@11: * 3. Neither the name of the MIPS Technologies, Inc., nor the names of its yading@11: * contributors may be used to endorse or promote products derived from yading@11: * this software without specific prior written permission. yading@11: * yading@11: * THIS SOFTWARE IS PROVIDED BY THE MIPS TECHNOLOGIES, INC. ``AS IS'' AND yading@11: * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE yading@11: * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE yading@11: * ARE DISCLAIMED. IN NO EVENT SHALL THE MIPS TECHNOLOGIES, INC. BE LIABLE yading@11: * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL yading@11: * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS yading@11: * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) yading@11: * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT yading@11: * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY yading@11: * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF yading@11: * SUCH DAMAGE. yading@11: * yading@11: * Author: Branimir Vasic (bvasic@mips.com) yading@11: * Author: Zoran Lukic (zoranl@mips.com) yading@11: * yading@11: * This file is part of FFmpeg. yading@11: * yading@11: * FFmpeg is free software; you can redistribute it and/or yading@11: * modify it under the terms of the GNU Lesser General Public yading@11: * License as published by the Free Software Foundation; either yading@11: * version 2.1 of the License, or (at your option) any later version. yading@11: * yading@11: * FFmpeg is distributed in the hope that it will be useful, yading@11: * but WITHOUT ANY WARRANTY; without even the implied warranty of yading@11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU yading@11: * Lesser General Public License for more details. yading@11: * yading@11: * You should have received a copy of the GNU Lesser General Public yading@11: * License along with FFmpeg; if not, write to the Free Software yading@11: * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA yading@11: */ yading@11: yading@11: /** yading@11: * @file yading@11: * Reference: libavutil/float_dsp.c yading@11: */ yading@11: yading@11: #include "config.h" yading@11: #include "libavutil/float_dsp.h" yading@11: yading@11: #if HAVE_INLINE_ASM && HAVE_MIPSFPU yading@11: static void vector_fmul_mips(float *dst, const float *src0, const float *src1, yading@11: int len) yading@11: { yading@11: int i; yading@11: yading@11: if (len & 3) { yading@11: for (i = 0; i < len; i++) yading@11: dst[i] = src0[i] * src1[i]; yading@11: } else { yading@11: float *d = (float *)dst; yading@11: float *d_end = d + len; yading@11: float *s0 = (float *)src0; yading@11: float *s1 = (float *)src1; yading@11: yading@11: float src0_0, src0_1, src0_2, src0_3; yading@11: float src1_0, src1_1, src1_2, src1_3; yading@11: yading@11: __asm__ volatile ( yading@11: "1: \n\t" yading@11: "lwc1 %[src0_0], 0(%[s0]) \n\t" yading@11: "lwc1 %[src1_0], 0(%[s1]) \n\t" yading@11: "lwc1 %[src0_1], 4(%[s0]) \n\t" yading@11: "lwc1 %[src1_1], 4(%[s1]) \n\t" yading@11: "lwc1 %[src0_2], 8(%[s0]) \n\t" yading@11: "lwc1 %[src1_2], 8(%[s1]) \n\t" yading@11: "lwc1 %[src0_3], 12(%[s0]) \n\t" yading@11: "lwc1 %[src1_3], 12(%[s1]) \n\t" yading@11: "mul.s %[src0_0], %[src0_0], %[src1_0] \n\t" yading@11: "mul.s %[src0_1], %[src0_1], %[src1_1] \n\t" yading@11: "mul.s %[src0_2], %[src0_2], %[src1_2] \n\t" yading@11: "mul.s %[src0_3], %[src0_3], %[src1_3] \n\t" yading@11: "swc1 %[src0_0], 0(%[d]) \n\t" yading@11: "swc1 %[src0_1], 4(%[d]) \n\t" yading@11: "swc1 %[src0_2], 8(%[d]) \n\t" yading@11: "swc1 %[src0_3], 12(%[d]) \n\t" yading@11: "addiu %[s0], %[s0], 16 \n\t" yading@11: "addiu %[s1], %[s1], 16 \n\t" yading@11: "addiu %[d], %[d], 16 \n\t" yading@11: "bne %[d], %[d_end], 1b \n\t" yading@11: yading@11: : [src0_0]"=&f"(src0_0), [src0_1]"=&f"(src0_1), yading@11: [src0_2]"=&f"(src0_2), [src0_3]"=&f"(src0_3), yading@11: [src1_0]"=&f"(src1_0), [src1_1]"=&f"(src1_1), yading@11: [src1_2]"=&f"(src1_2), [src1_3]"=&f"(src1_3), yading@11: [d]"+r"(d), [s0]"+r"(s0), [s1]"+r"(s1) yading@11: : [d_end]"r"(d_end) yading@11: : "memory" yading@11: ); yading@11: } yading@11: } yading@11: yading@11: static void vector_fmul_scalar_mips(float *dst, const float *src, float mul, yading@11: int len) yading@11: { yading@11: float temp0, temp1, temp2, temp3; yading@11: float *local_src = (float*)src; yading@11: float *end = local_src + len; yading@11: yading@11: /* loop unrolled 4 times */ yading@11: __asm__ volatile( yading@11: ".set push \n\t" yading@11: ".set noreorder \n\t" yading@11: "1: \n\t" yading@11: "lwc1 %[temp0], 0(%[src]) \n\t" yading@11: "lwc1 %[temp1], 4(%[src]) \n\t" yading@11: "lwc1 %[temp2], 8(%[src]) \n\t" yading@11: "lwc1 %[temp3], 12(%[src]) \n\t" yading@11: "addiu %[dst], %[dst], 16 \n\t" yading@11: "mul.s %[temp0], %[temp0], %[mul] \n\t" yading@11: "mul.s %[temp1], %[temp1], %[mul] \n\t" yading@11: "mul.s %[temp2], %[temp2], %[mul] \n\t" yading@11: "mul.s %[temp3], %[temp3], %[mul] \n\t" yading@11: "addiu %[src], %[src], 16 \n\t" yading@11: "swc1 %[temp0], -16(%[dst]) \n\t" yading@11: "swc1 %[temp1], -12(%[dst]) \n\t" yading@11: "swc1 %[temp2], -8(%[dst]) \n\t" yading@11: "bne %[src], %[end], 1b \n\t" yading@11: " swc1 %[temp3], -4(%[dst]) \n\t" yading@11: ".set pop \n\t" yading@11: yading@11: : [temp0]"=&f"(temp0), [temp1]"=&f"(temp1), yading@11: [temp2]"=&f"(temp2), [temp3]"=&f"(temp3), yading@11: [dst]"+r"(dst), [src]"+r"(local_src) yading@11: : [end]"r"(end), [mul]"f"(mul) yading@11: : "memory" yading@11: ); yading@11: } yading@11: yading@11: static void vector_fmul_window_mips(float *dst, const float *src0, yading@11: const float *src1, const float *win, int len) yading@11: { yading@11: int i, j; yading@11: /* yading@11: * variables used in inline assembler yading@11: */ yading@11: float * dst_i, * dst_j, * dst_i2, * dst_j2; yading@11: float temp, temp1, temp2, temp3, temp4, temp5, temp6, temp7; yading@11: yading@11: dst += len; yading@11: win += len; yading@11: src0 += len; yading@11: yading@11: for (i = -len, j = len - 1; i < 0; i += 8, j -= 8) { yading@11: yading@11: dst_i = dst + i; yading@11: dst_j = dst + j; yading@11: yading@11: dst_i2 = dst + i + 4; yading@11: dst_j2 = dst + j - 4; yading@11: yading@11: __asm__ volatile ( yading@11: "mul.s %[temp], %[s1], %[wi] \n\t" yading@11: "mul.s %[temp1], %[s1], %[wj] \n\t" yading@11: "mul.s %[temp2], %[s11], %[wi1] \n\t" yading@11: "mul.s %[temp3], %[s11], %[wj1] \n\t" yading@11: yading@11: "msub.s %[temp], %[temp], %[s0], %[wj] \n\t" yading@11: "madd.s %[temp1], %[temp1], %[s0], %[wi] \n\t" yading@11: "msub.s %[temp2], %[temp2], %[s01], %[wj1] \n\t" yading@11: "madd.s %[temp3], %[temp3], %[s01], %[wi1] \n\t" yading@11: yading@11: "swc1 %[temp], 0(%[dst_i]) \n\t" /* dst[i] = s0*wj - s1*wi; */ yading@11: "swc1 %[temp1], 0(%[dst_j]) \n\t" /* dst[j] = s0*wi + s1*wj; */ yading@11: "swc1 %[temp2], 4(%[dst_i]) \n\t" /* dst[i+1] = s01*wj1 - s11*wi1; */ yading@11: "swc1 %[temp3], -4(%[dst_j]) \n\t" /* dst[j-1] = s01*wi1 + s11*wj1; */ yading@11: yading@11: "mul.s %[temp4], %[s12], %[wi2] \n\t" yading@11: "mul.s %[temp5], %[s12], %[wj2] \n\t" yading@11: "mul.s %[temp6], %[s13], %[wi3] \n\t" yading@11: "mul.s %[temp7], %[s13], %[wj3] \n\t" yading@11: yading@11: "msub.s %[temp4], %[temp4], %[s02], %[wj2] \n\t" yading@11: "madd.s %[temp5], %[temp5], %[s02], %[wi2] \n\t" yading@11: "msub.s %[temp6], %[temp6], %[s03], %[wj3] \n\t" yading@11: "madd.s %[temp7], %[temp7], %[s03], %[wi3] \n\t" yading@11: yading@11: "swc1 %[temp4], 8(%[dst_i]) \n\t" /* dst[i+2] = s02*wj2 - s12*wi2; */ yading@11: "swc1 %[temp5], -8(%[dst_j]) \n\t" /* dst[j-2] = s02*wi2 + s12*wj2; */ yading@11: "swc1 %[temp6], 12(%[dst_i]) \n\t" /* dst[i+2] = s03*wj3 - s13*wi3; */ yading@11: "swc1 %[temp7], -12(%[dst_j]) \n\t" /* dst[j-3] = s03*wi3 + s13*wj3; */ yading@11: : [temp]"=&f"(temp), [temp1]"=&f"(temp1), [temp2]"=&f"(temp2), yading@11: [temp3]"=&f"(temp3), [temp4]"=&f"(temp4), [temp5]"=&f"(temp5), yading@11: [temp6]"=&f"(temp6), [temp7]"=&f"(temp7) yading@11: : [dst_j]"r"(dst_j), [dst_i]"r" (dst_i), yading@11: [s0] "f"(src0[i]), [wj] "f"(win[j]), [s1] "f"(src1[j]), yading@11: [wi] "f"(win[i]), [s01]"f"(src0[i + 1]),[wj1]"f"(win[j - 1]), yading@11: [s11]"f"(src1[j - 1]), [wi1]"f"(win[i + 1]), [s02]"f"(src0[i + 2]), yading@11: [wj2]"f"(win[j - 2]), [s12]"f"(src1[j - 2]),[wi2]"f"(win[i + 2]), yading@11: [s03]"f"(src0[i + 3]), [wj3]"f"(win[j - 3]), [s13]"f"(src1[j - 3]), yading@11: [wi3]"f"(win[i + 3]) yading@11: : "memory" yading@11: ); yading@11: yading@11: __asm__ volatile ( yading@11: "mul.s %[temp], %[s1], %[wi] \n\t" yading@11: "mul.s %[temp1], %[s1], %[wj] \n\t" yading@11: "mul.s %[temp2], %[s11], %[wi1] \n\t" yading@11: "mul.s %[temp3], %[s11], %[wj1] \n\t" yading@11: yading@11: "msub.s %[temp], %[temp], %[s0], %[wj] \n\t" yading@11: "madd.s %[temp1], %[temp1], %[s0], %[wi] \n\t" yading@11: "msub.s %[temp2], %[temp2], %[s01], %[wj1] \n\t" yading@11: "madd.s %[temp3], %[temp3], %[s01], %[wi1] \n\t" yading@11: yading@11: "swc1 %[temp], 0(%[dst_i2]) \n\t" /* dst[i] = s0*wj - s1*wi; */ yading@11: "swc1 %[temp1], 0(%[dst_j2]) \n\t" /* dst[j] = s0*wi + s1*wj; */ yading@11: "swc1 %[temp2], 4(%[dst_i2]) \n\t" /* dst[i+1] = s01*wj1 - s11*wi1; */ yading@11: "swc1 %[temp3], -4(%[dst_j2]) \n\t" /* dst[j-1] = s01*wi1 + s11*wj1; */ yading@11: yading@11: "mul.s %[temp4], %[s12], %[wi2] \n\t" yading@11: "mul.s %[temp5], %[s12], %[wj2] \n\t" yading@11: "mul.s %[temp6], %[s13], %[wi3] \n\t" yading@11: "mul.s %[temp7], %[s13], %[wj3] \n\t" yading@11: yading@11: "msub.s %[temp4], %[temp4], %[s02], %[wj2] \n\t" yading@11: "madd.s %[temp5], %[temp5], %[s02], %[wi2] \n\t" yading@11: "msub.s %[temp6], %[temp6], %[s03], %[wj3] \n\t" yading@11: "madd.s %[temp7], %[temp7], %[s03], %[wi3] \n\t" yading@11: yading@11: "swc1 %[temp4], 8(%[dst_i2]) \n\t" /* dst[i+2] = s02*wj2 - s12*wi2; */ yading@11: "swc1 %[temp5], -8(%[dst_j2]) \n\t" /* dst[j-2] = s02*wi2 + s12*wj2; */ yading@11: "swc1 %[temp6], 12(%[dst_i2]) \n\t" /* dst[i+2] = s03*wj3 - s13*wi3; */ yading@11: "swc1 %[temp7], -12(%[dst_j2]) \n\t" /* dst[j-3] = s03*wi3 + s13*wj3; */ yading@11: : [temp]"=&f"(temp), yading@11: [temp1]"=&f"(temp1), [temp2]"=&f"(temp2), [temp3]"=&f"(temp3), yading@11: [temp4]"=&f"(temp4), [temp5]"=&f"(temp5), [temp6]"=&f"(temp6), yading@11: [temp7] "=&f" (temp7) yading@11: : [dst_j2]"r"(dst_j2), [dst_i2]"r"(dst_i2), yading@11: [s0] "f"(src0[i + 4]), [wj] "f"(win[j - 4]), [s1] "f"(src1[j - 4]), yading@11: [wi] "f"(win[i + 4]), [s01]"f"(src0[i + 5]),[wj1]"f"(win[j - 5]), yading@11: [s11]"f"(src1[j - 5]), [wi1]"f"(win[i + 5]), [s02]"f"(src0[i + 6]), yading@11: [wj2]"f"(win[j - 6]), [s12]"f"(src1[j - 6]),[wi2]"f"(win[i + 6]), yading@11: [s03]"f"(src0[i + 7]), [wj3]"f"(win[j - 7]), [s13]"f"(src1[j - 7]), yading@11: [wi3]"f"(win[i + 7]) yading@11: : "memory" yading@11: ); yading@11: } yading@11: } yading@11: yading@11: static void butterflies_float_mips(float *av_restrict v1, float *av_restrict v2, yading@11: int len) yading@11: { yading@11: float temp0, temp1, temp2, temp3, temp4; yading@11: float temp5, temp6, temp7, temp8, temp9; yading@11: float temp10, temp11, temp12, temp13, temp14, temp15; yading@11: int pom; yading@11: pom = (len >> 2)-1; yading@11: yading@11: /* loop unrolled 4 times */ yading@11: __asm__ volatile ( yading@11: "lwc1 %[temp0], 0(%[v1]) \n\t" yading@11: "lwc1 %[temp1], 4(%[v1]) \n\t" yading@11: "lwc1 %[temp2], 8(%[v1]) \n\t" yading@11: "lwc1 %[temp3], 12(%[v1]) \n\t" yading@11: "lwc1 %[temp4], 0(%[v2]) \n\t" yading@11: "lwc1 %[temp5], 4(%[v2]) \n\t" yading@11: "lwc1 %[temp6], 8(%[v2]) \n\t" yading@11: "lwc1 %[temp7], 12(%[v2]) \n\t" yading@11: "beq %[pom], $zero, 2f \n\t" yading@11: "1: \n\t" yading@11: "sub.s %[temp8], %[temp0], %[temp4] \n\t" yading@11: "add.s %[temp9], %[temp0], %[temp4] \n\t" yading@11: "sub.s %[temp10], %[temp1], %[temp5] \n\t" yading@11: "add.s %[temp11], %[temp1], %[temp5] \n\t" yading@11: "sub.s %[temp12], %[temp2], %[temp6] \n\t" yading@11: "add.s %[temp13], %[temp2], %[temp6] \n\t" yading@11: "sub.s %[temp14], %[temp3], %[temp7] \n\t" yading@11: "add.s %[temp15], %[temp3], %[temp7] \n\t" yading@11: "addiu %[v1], %[v1], 16 \n\t" yading@11: "addiu %[v2], %[v2], 16 \n\t" yading@11: "addiu %[pom], %[pom], -1 \n\t" yading@11: "lwc1 %[temp0], 0(%[v1]) \n\t" yading@11: "lwc1 %[temp1], 4(%[v1]) \n\t" yading@11: "lwc1 %[temp2], 8(%[v1]) \n\t" yading@11: "lwc1 %[temp3], 12(%[v1]) \n\t" yading@11: "lwc1 %[temp4], 0(%[v2]) \n\t" yading@11: "lwc1 %[temp5], 4(%[v2]) \n\t" yading@11: "lwc1 %[temp6], 8(%[v2]) \n\t" yading@11: "lwc1 %[temp7], 12(%[v2]) \n\t" yading@11: "swc1 %[temp9], -16(%[v1]) \n\t" yading@11: "swc1 %[temp8], -16(%[v2]) \n\t" yading@11: "swc1 %[temp11], -12(%[v1]) \n\t" yading@11: "swc1 %[temp10], -12(%[v2]) \n\t" yading@11: "swc1 %[temp13], -8(%[v1]) \n\t" yading@11: "swc1 %[temp12], -8(%[v2]) \n\t" yading@11: "swc1 %[temp15], -4(%[v1]) \n\t" yading@11: "swc1 %[temp14], -4(%[v2]) \n\t" yading@11: "bgtz %[pom], 1b \n\t" yading@11: "2: \n\t" yading@11: "sub.s %[temp8], %[temp0], %[temp4] \n\t" yading@11: "add.s %[temp9], %[temp0], %[temp4] \n\t" yading@11: "sub.s %[temp10], %[temp1], %[temp5] \n\t" yading@11: "add.s %[temp11], %[temp1], %[temp5] \n\t" yading@11: "sub.s %[temp12], %[temp2], %[temp6] \n\t" yading@11: "add.s %[temp13], %[temp2], %[temp6] \n\t" yading@11: "sub.s %[temp14], %[temp3], %[temp7] \n\t" yading@11: "add.s %[temp15], %[temp3], %[temp7] \n\t" yading@11: "swc1 %[temp9], 0(%[v1]) \n\t" yading@11: "swc1 %[temp8], 0(%[v2]) \n\t" yading@11: "swc1 %[temp11], 4(%[v1]) \n\t" yading@11: "swc1 %[temp10], 4(%[v2]) \n\t" yading@11: "swc1 %[temp13], 8(%[v1]) \n\t" yading@11: "swc1 %[temp12], 8(%[v2]) \n\t" yading@11: "swc1 %[temp15], 12(%[v1]) \n\t" yading@11: "swc1 %[temp14], 12(%[v2]) \n\t" yading@11: yading@11: : [v1]"+r"(v1), [v2]"+r"(v2), [pom]"+r"(pom), [temp0] "=&f" (temp0), yading@11: [temp1]"=&f"(temp1), [temp2]"=&f"(temp2), [temp3]"=&f"(temp3), yading@11: [temp4]"=&f"(temp4), [temp5]"=&f"(temp5), [temp6]"=&f"(temp6), yading@11: [temp7]"=&f"(temp7), [temp8]"=&f"(temp8), [temp9]"=&f"(temp9), yading@11: [temp10]"=&f"(temp10), [temp11]"=&f"(temp11), [temp12]"=&f"(temp12), yading@11: [temp13]"=&f"(temp13), [temp14]"=&f"(temp14), [temp15]"=&f"(temp15) yading@11: : yading@11: : "memory" yading@11: ); yading@11: } yading@11: yading@11: static void vector_fmul_reverse_mips(float *dst, const float *src0, const float *src1, int len){ yading@11: int i; yading@11: float temp0, temp1, temp2, temp3, temp4, temp5, temp6, temp7; yading@11: src1 += len-1; yading@11: yading@11: for(i=0; i<(len>>2); i++) yading@11: { yading@11: /* loop unrolled 4 times */ yading@11: __asm__ volatile( yading@11: "lwc1 %[temp0], 0(%[src0]) \n\t" yading@11: "lwc1 %[temp1], 0(%[src1]) \n\t" yading@11: "lwc1 %[temp2], 4(%[src0]) \n\t" yading@11: "lwc1 %[temp3], -4(%[src1]) \n\t" yading@11: "lwc1 %[temp4], 8(%[src0]) \n\t" yading@11: "lwc1 %[temp5], -8(%[src1]) \n\t" yading@11: "lwc1 %[temp6], 12(%[src0]) \n\t" yading@11: "lwc1 %[temp7], -12(%[src1]) \n\t" yading@11: "mul.s %[temp0], %[temp1], %[temp0] \n\t" yading@11: "mul.s %[temp2], %[temp3], %[temp2] \n\t" yading@11: "mul.s %[temp4], %[temp5], %[temp4] \n\t" yading@11: "mul.s %[temp6], %[temp7], %[temp6] \n\t" yading@11: "addiu %[src0], %[src0], 16 \n\t" yading@11: "addiu %[src1], %[src1], -16 \n\t" yading@11: "addiu %[dst], %[dst], 16 \n\t" yading@11: "swc1 %[temp0], -16(%[dst]) \n\t" yading@11: "swc1 %[temp2], -12(%[dst]) \n\t" yading@11: "swc1 %[temp4], -8(%[dst]) \n\t" yading@11: "swc1 %[temp6], -4(%[dst]) \n\t" yading@11: yading@11: : [dst]"+r"(dst), [src0]"+r"(src0), [src1]"+r"(src1), yading@11: [temp0]"=&f"(temp0), [temp1]"=&f"(temp1),[temp2]"=&f"(temp2), yading@11: [temp3]"=&f"(temp3), [temp4]"=&f"(temp4), [temp5]"=&f"(temp5), yading@11: [temp6]"=&f"(temp6), [temp7]"=&f"(temp7) yading@11: : yading@11: : "memory" yading@11: ); yading@11: } yading@11: } yading@11: #endif /* HAVE_INLINE_ASM && HAVE_MIPSFPU */ yading@11: yading@11: void ff_float_dsp_init_mips(AVFloatDSPContext *fdsp) { yading@11: #if HAVE_INLINE_ASM && HAVE_MIPSFPU yading@11: fdsp->vector_fmul = vector_fmul_mips; yading@11: fdsp->vector_fmul_scalar = vector_fmul_scalar_mips; yading@11: fdsp->vector_fmul_window = vector_fmul_window_mips; yading@11: fdsp->butterflies_float = butterflies_float_mips; yading@11: fdsp->vector_fmul_reverse = vector_fmul_reverse_mips; yading@11: #endif /* HAVE_INLINE_ASM && HAVE_MIPSFPU */ yading@11: }