github.com/riscv/riscv-go@v0.0.0-20200123204226-124ebd6fcc8e/src/math/big/arith_decl.go (about)

     1  // Copyright 2010 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  // +build !math_big_pure_go,!riscv
     6  
     7  package big
     8  
     9  // implemented in arith_$GOARCH.s
    10  func mulWW(x, y Word) (z1, z0 Word)
    11  func divWW(x1, x0, y Word) (q, r Word)
    12  func addVV(z, x, y []Word) (c Word)
    13  func subVV(z, x, y []Word) (c Word)
    14  func addVW(z, x []Word, y Word) (c Word)
    15  func subVW(z, x []Word, y Word) (c Word)
    16  func shlVU(z, x []Word, s uint) (c Word)
    17  func shrVU(z, x []Word, s uint) (c Word)
    18  func mulAddVWW(z, x []Word, y, r Word) (c Word)
    19  func addMulVVW(z, x []Word, y Word) (c Word)
    20  func divWVW(z []Word, xn Word, x []Word, y Word) (r Word)
    21  func bitLen(x Word) (n int)