This commit is contained in:
Tuna 2018-10-04 17:13:39 +07:00
parent d460c55eac
commit 1fdb614e09
14 changed files with 14 additions and 14 deletions

View file

@ -22,4 +22,4 @@ func gfpAdd(c, a, b *gfP)
func gfpSub(c, a, b *gfP)
//go:noescape
func gfpMul(c, a, b *gfP)
func gfpMul(c, a, b *gfP)

View file

@ -456,4 +456,4 @@ func (pool *bnPool) Put(bn *big.Int) {
func (pool *bnPool) Count() int {
return pool.count
}
}

View file

@ -283,4 +283,4 @@ func (c *curvePoint) Negative(a *curvePoint) {
c.y.Neg(a.y)
c.z.Set(a.z)
c.t.SetInt64(0)
}
}

View file

@ -260,4 +260,4 @@ func (c *twistPoint) Negative(a *twistPoint, pool *bnPool) {
c.y.Sub(c.y, a.y)
c.z.Set(a.z)
c.t.SetZero()
}
}

2
vendor/golang.org/x/sys/cpu/cpu.go generated vendored
View file

@ -35,4 +35,4 @@ var X86 struct {
HasSSE41 bool // Streaming SIMD extension 4 and 4.1
HasSSE42 bool // Streaming SIMD extension 4 and 4.2
_ CacheLinePad
}
}

View file

@ -4,4 +4,4 @@
package cpu
const cacheLineSize = 32
const cacheLineSize = 32

View file

@ -4,4 +4,4 @@
package cpu
const cacheLineSize = 64
const cacheLineSize = 64

View file

@ -13,4 +13,4 @@ func cpuid(eaxArg, ecxArg uint32) (eax, ebx, ecx, edx uint32)
// xgetbv with ecx = 0 is implemented in cpu_x86.s for gc compiler
// and in cpu_gccgo.c for gccgo.
func xgetbv() (eax, edx uint32)
func xgetbv() (eax, edx uint32)

View file

@ -23,4 +23,4 @@ func xgetbv() (eax, edx uint32) {
var a, d uint32
gccgoXgetbv(&a, &d)
return a, d
}
}

View file

@ -6,4 +6,4 @@
package cpu
const cacheLineSize = 32
const cacheLineSize = 32

View file

@ -6,4 +6,4 @@
package cpu
const cacheLineSize = 32
const cacheLineSize = 32

View file

@ -6,4 +6,4 @@
package cpu
const cacheLineSize = 128
const cacheLineSize = 128

View file

@ -4,4 +4,4 @@
package cpu
const cacheLineSize = 256
const cacheLineSize = 256

View file

@ -52,4 +52,4 @@ func init() {
func isSet(bitpos uint, value uint32) bool {
return value&(1<<bitpos) != 0
}
}