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 import _ "unsafe" // for linkname 10 11 // implemented in arith_$GOARCH.s 12 13 // addVV should be an internal detail, 14 // but widely used packages access it using linkname. 15 // Notable members of the hall of shame include: 16 // - github.com/remyoudompheng/bigfft 17 // 18 // Do not remove or change the type signature. 19 // See go.dev/issue/67401. 20 // 21 //go:linkname addVV 22 //go:noescape 23 func addVV(z, x, y []Word) (c Word) 24 25 // subVV should be an internal detail, 26 // but widely used packages access it using linkname. 27 // Notable members of the hall of shame include: 28 // - github.com/remyoudompheng/bigfft 29 // 30 // Do not remove or change the type signature. 31 // See go.dev/issue/67401. 32 // 33 //go:linkname subVV 34 //go:noescape 35 func subVV(z, x, y []Word) (c Word) 36 37 // addVW should be an internal detail, 38 // but widely used packages access it using linkname. 39 // Notable members of the hall of shame include: 40 // - github.com/remyoudompheng/bigfft 41 // 42 // Do not remove or change the type signature. 43 // See go.dev/issue/67401. 44 // 45 //go:linkname addVW 46 //go:noescape 47 func addVW(z, x []Word, y Word) (c Word) 48 49 // subVW should be an internal detail, 50 // but widely used packages access it using linkname. 51 // Notable members of the hall of shame include: 52 // - github.com/remyoudompheng/bigfft 53 // 54 // Do not remove or change the type signature. 55 // See go.dev/issue/67401. 56 // 57 //go:linkname subVW 58 //go:noescape 59 func subVW(z, x []Word, y Word) (c Word) 60 61 // shlVU should be an internal detail, 62 // but widely used packages access it using linkname. 63 // Notable members of the hall of shame include: 64 // - github.com/remyoudompheng/bigfft 65 // 66 // Do not remove or change the type signature. 67 // See go.dev/issue/67401. 68 // 69 //go:linkname shlVU 70 //go:noescape 71 func shlVU(z, x []Word, s uint) (c Word) 72 73 //go:noescape 74 func shrVU(z, x []Word, s uint) (c Word) 75 76 // mulAddVWW should be an internal detail, 77 // but widely used packages access it using linkname. 78 // Notable members of the hall of shame include: 79 // - github.com/remyoudompheng/bigfft 80 // 81 // Do not remove or change the type signature. 82 // See go.dev/issue/67401. 83 // 84 //go:linkname mulAddVWW 85 //go:noescape 86 func mulAddVWW(z, x []Word, y, r Word) (c Word) 87 88 // addMulVVW should be an internal detail, 89 // but widely used packages access it using linkname. 90 // Notable members of the hall of shame include: 91 // - github.com/remyoudompheng/bigfft 92 // 93 // Do not remove or change the type signature. 94 // See go.dev/issue/67401. 95 // 96 //go:linkname addMulVVW 97 //go:noescape 98 func addMulVVW(z, x []Word, y Word) (c Word) 99