github.com/ice-blockchain/go/src@v0.0.0-20240403114104-1564d284e521/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 7 #include "textflag.h" 8 9 // This file provides fast assembly versions for the elementary 10 // arithmetic operations on vectors implemented in arith.go. 11 12 TEXT ·addVV(SB),NOSPLIT,$0 13 JMP ·addVV_g(SB) 14 15 TEXT ·subVV(SB),NOSPLIT,$0 16 JMP ·subVV_g(SB) 17 18 TEXT ·addVW(SB),NOSPLIT,$0 19 JMP ·addVW_g(SB) 20 21 TEXT ·subVW(SB),NOSPLIT,$0 22 JMP ·subVW_g(SB) 23 24 TEXT ·shlVU(SB),NOSPLIT,$0 25 JMP ·shlVU_g(SB) 26 27 TEXT ·shrVU(SB),NOSPLIT,$0 28 JMP ·shrVU_g(SB) 29 30 TEXT ·mulAddVWW(SB),NOSPLIT,$0 31 JMP ·mulAddVWW_g(SB) 32 33 TEXT ·addMulVVW(SB),NOSPLIT,$0 34 JMP ·addMulVVW_g(SB) 35