Source file src/math/big/arith_decl.go

     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  //go:build !math_big_pure_go
     6  
     7  package big
     8  
     9  // implemented in arith_$GOARCH.s
    10  
    11  //go:noescape
    12  func addVV(z, x, y []Word) (c Word)
    13  
    14  //go:noescape
    15  func subVV(z, x, y []Word) (c Word)
    16  
    17  //go:noescape
    18  func addVW(z, x []Word, y Word) (c Word)
    19  
    20  //go:noescape
    21  func subVW(z, x []Word, y Word) (c Word)
    22  
    23  //go:noescape
    24  func shlVU(z, x []Word, s uint) (c Word)
    25  
    26  //go:noescape
    27  func shrVU(z, x []Word, s uint) (c Word)
    28  
    29  //go:noescape
    30  func mulAddVWW(z, x []Word, y, r Word) (c Word)
    31  
    32  //go:noescape
    33  func addMulVVW(z, x []Word, y Word) (c Word)
    34  

View as plain text