...
Text file
src/math/big/arith_riscv64.s
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
12TEXT ·addVV(SB),NOSPLIT,$0
13 JMP ·addVV_g(SB)
14
15TEXT ·subVV(SB),NOSPLIT,$0
16 JMP ·subVV_g(SB)
17
18TEXT ·addVW(SB),NOSPLIT,$0
19 JMP ·addVW_g(SB)
20
21TEXT ·subVW(SB),NOSPLIT,$0
22 JMP ·subVW_g(SB)
23
24TEXT ·shlVU(SB),NOSPLIT,$0
25 JMP ·shlVU_g(SB)
26
27TEXT ·shrVU(SB),NOSPLIT,$0
28 JMP ·shrVU_g(SB)
29
30TEXT ·mulAddVWW(SB),NOSPLIT,$0
31 JMP ·mulAddVWW_g(SB)
32
33TEXT ·addMulVVW(SB),NOSPLIT,$0
34 JMP ·addMulVVW_g(SB)
35
View as plain text