Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Mult32 (0.18 sec)

  1. src/crypto/internal/edwards25519/field/fe.go

    	feMul(v, x, y)
    	return v
    }
    
    // Square sets v = x * x, and returns v.
    func (v *Element) Square(x *Element) *Element {
    	feSquare(v, x)
    	return v
    }
    
    // Mult32 sets v = x * y, and returns v.
    func (v *Element) Mult32(x *Element, y uint32) *Element {
    	x0lo, x0hi := mul51(x.l0, y)
    	x1lo, x1hi := mul51(x.l1, y)
    	x2lo, x2hi := mul51(x.l2, y)
    	x3lo, x3hi := mul51(x.l3, y)
    	x4lo, x4hi := mul51(x.l4, y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. src/math/rand/v2/rand.go

    	// 	x1:x0 := r.Uint64()
    	// 	0:hi, lo1:lo0 := bits.Mul64(x1:x0, 0:n)
    	// Writing out the multiplication in terms of bits.Mul32 allows
    	// using direct hardware instructions and avoiding
    	// the computations involving these zeros.
    	x := r.Uint64()
    	lo1a, lo0 := bits.Mul32(uint32(x), n)
    	hi, lo1b := bits.Mul32(uint32(x>>32), n)
    	lo1, c := bits.Add32(lo1a, lo1b, 0)
    	hi += c
    	if lo1 == 0 && lo0 < uint32(n) {
    		n64 := uint64(n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "Sub32F", argLength: 2},
    	{name: "Sub64F", argLength: 2},
    
    	{name: "Mul8", argLength: 2, commutative: true}, // arg0 * arg1
    	{name: "Mul16", argLength: 2, commutative: true},
    	{name: "Mul32", argLength: 2, commutative: true},
    	{name: "Mul64", argLength: 2, commutative: true},
    	{name: "Mul32F", argLength: 2, commutative: true},
    	{name: "Mul64F", argLength: 2, commutative: true},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top