Black Lives Matter. Support the Equal Justice Initiative.

Text file src/math/big/arith_mipsx.s

Documentation: math/big

     1  // Copyright 2016 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build !math_big_pure_go && (mips || mipsle)
     6  // +build !math_big_pure_go
     7  // +build mips mipsle
     8  
     9  #include "textflag.h"
    10  
    11  // This file provides fast assembly versions for the elementary
    12  // arithmetic operations on vectors implemented in arith.go.
    13  
    14  TEXT ·mulWW(SB),NOSPLIT,$0
    15  	JMP	·mulWW_g(SB)
    16  
    17  TEXT ·addVV(SB),NOSPLIT,$0
    18  	JMP	·addVV_g(SB)
    19  
    20  TEXT ·subVV(SB),NOSPLIT,$0
    21  	JMP	·subVV_g(SB)
    22  
    23  TEXT ·addVW(SB),NOSPLIT,$0
    24  	JMP	·addVW_g(SB)
    25  
    26  TEXT ·subVW(SB),NOSPLIT,$0
    27  	JMP	·subVW_g(SB)
    28  
    29  TEXT ·shlVU(SB),NOSPLIT,$0
    30  	JMP	·shlVU_g(SB)
    31  
    32  TEXT ·shrVU(SB),NOSPLIT,$0
    33  	JMP	·shrVU_g(SB)
    34  
    35  TEXT ·mulAddVWW(SB),NOSPLIT,$0
    36  	JMP	·mulAddVWW_g(SB)
    37  
    38  TEXT ·addMulVVW(SB),NOSPLIT,$0
    39  	JMP	·addMulVVW_g(SB)
    40  
    41  

View as plain text