github.com/twelsh-aw/go/src@v0.0.0-20230516233729-a56fe86a7c81/math/big/arith_riscv64.s (about)

     1  // Copyright 2020 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 && riscv64
     6  // +build !math_big_pure_go,riscv64
     7  
     8  #include "textflag.h"
     9  
    10  // This file provides fast assembly versions for the elementary
    11  // arithmetic operations on vectors implemented in arith.go.
    12  
    13  TEXT ·addVV(SB),NOSPLIT,$0
    14  	JMP ·addVV_g(SB)
    15  
    16  TEXT ·subVV(SB),NOSPLIT,$0
    17  	JMP ·subVV_g(SB)
    18  
    19  TEXT ·addVW(SB),NOSPLIT,$0
    20  	JMP ·addVW_g(SB)
    21  
    22  TEXT ·subVW(SB),NOSPLIT,$0
    23  	JMP ·subVW_g(SB)
    24  
    25  TEXT ·shlVU(SB),NOSPLIT,$0
    26  	JMP ·shlVU_g(SB)
    27  
    28  TEXT ·shrVU(SB),NOSPLIT,$0
    29  	JMP ·shrVU_g(SB)
    30  
    31  TEXT ·mulAddVWW(SB),NOSPLIT,$0
    32  	JMP ·mulAddVWW_g(SB)
    33  
    34  TEXT ·addMulVVW(SB),NOSPLIT,$0
    35  	JMP ·addMulVVW_g(SB)
    36