Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Mult32 (0.25 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/cmd/compile/internal/ssa/_gen/generic.rules

    // x * (D * z) = D * (x * z)
    (Mul64 (Mul64 i:(Const64 <t>) z) x) && (z.Op != OpConst64 && x.Op != OpConst64) => (Mul64 i (Mul64 <t> x z))
    (Mul32 (Mul32 i:(Const32 <t>) z) x) && (z.Op != OpConst32 && x.Op != OpConst32) => (Mul32 i (Mul32 <t> x z))
    (Mul16 (Mul16 i:(Const16 <t>) z) x) && (z.Op != OpConst16 && x.Op != OpConst16) => (Mul16 i (Mul16 <t> x z))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/compile/internal/ssa/rewritegeneric.go

    				continue
    			}
    			d := auxIntToInt32(v_1.AuxInt)
    			v.reset(OpConst32)
    			v.AuxInt = int32ToAuxInt(c + d)
    			return true
    		}
    		break
    	}
    	// match: (Add32 <t> (Mul32 x y) (Mul32 x z))
    	// result: (Mul32 x (Add32 <t> y z))
    	for {
    		t := v.Type
    		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
    			if v_0.Op != OpMul32 {
    				continue
    			}
    			_ = v_0.Args[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  5. 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)
  6. src/text/template/exec_test.go

    	{"hex float _", "{{print +0x_1.e_0p+0_2}}", "7.5", tVal, true},
    	{"HEX float", "{{print +0X1.EP+2}}", "7.5", tVal, true},
    	{"print multi", "{{print 1_2_3_4 7.5_00_00_00}}", "1234 7.5", tVal, true},
    	{"print multi2", "{{print 1234 0x0_1.e_0p+02}}", "1234 7.5", tVal, true},
    
    	// Fixed bugs.
    	// Must separate dot and receiver; otherwise args are evaluated with dot set to variable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/opGen.go

    		commutative: true,
    		generic:     true,
    	},
    	{
    		name:        "Mul16",
    		argLen:      2,
    		commutative: true,
    		generic:     true,
    	},
    	{
    		name:        "Mul32",
    		argLen:      2,
    		commutative: true,
    		generic:     true,
    	},
    	{
    		name:        "Mul64",
    		argLen:      2,
    		commutative: true,
    		generic:     true,
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top