Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for sum64 (0.23 sec)

  1. src/cmd/compile/internal/ssa/_gen/generic.rules

    (Add8  (Sub8  i:(Const8  <t>) z) x) && (z.Op != OpConst8  && x.Op != OpConst8)  => (Add8  i (Sub8  <t> x z))
    
    // x - (C - z) -> x + (z - C) -> (x + z) - C
    (Sub64 x (Sub64 i:(Const64 <t>) z)) && (z.Op != OpConst64 && x.Op != OpConst64) => (Sub64 (Add64 <t> x z) i)
    (Sub32 x (Sub32 i:(Const32 <t>) z)) && (z.Op != OpConst32 && x.Op != OpConst32) => (Sub32 (Add32 <t> x z) i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewritegeneric.go

    			return true
    		}
    		break
    	}
    	// match: (Sub64 (Sub64 x y) x)
    	// result: (Neg64 y)
    	for {
    		if v_0.Op != OpSub64 {
    			break
    		}
    		y := v_0.Args[1]
    		x := v_0.Args[0]
    		if x != v_1 {
    			break
    		}
    		v.reset(OpNeg64)
    		v.AddArg(y)
    		return true
    	}
    	// match: (Sub64 x (Add64 x y))
    	// result: (Neg64 y)
    	for {
    		x := v_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  3. src/crypto/ecdh/nist.go

    	}
    
    	// Perform a subtraction with borrow.
    	var borrow uint64
    	for i := 0; i < len(bufA); i += 8 {
    		limbA, limbB := byteorder.LeUint64(bufA[i:]), byteorder.LeUint64(bufB[i:])
    		_, borrow = bits.Sub64(limbA, limbB, borrow)
    	}
    
    	// If there is a borrow at the end of the operation, then a < b.
    	return borrow == 1
    }
    
    func (c *nistCurve[Point]) NewPublicKey(key []byte) (*PublicKey, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. test/codegen/bits.go

    }
    func issue44228b(a []int32, i int) bool {
    	// amd64: "BTL", -"SHL"
    	return a[i>>5]&(1<<(i&31)) != 0
    }
    
    func issue48467(x, y uint64) uint64 {
    	// arm64: -"NEG"
    	d, borrow := bits.Sub64(x, y, 0)
    	return x - d&(-borrow)
    }
    
    func foldConst(x, y uint64) uint64 {
    	// arm64: "ADDS\t[$]7",-"MOVD\t[$]7"
    	d, b := bits.Add64(x, 7, 0)
    	return b & d
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "Add64F", argLength: 2, commutative: true},
    
    	{name: "Sub8", argLength: 2}, // arg0 - arg1
    	{name: "Sub16", argLength: 2},
    	{name: "Sub32", argLength: 2},
    	{name: "Sub64", argLength: 2},
    	{name: "SubPtr", argLength: 2},
    	{name: "Sub32F", argLength: 2},
    	{name: "Sub64F", argLength: 2},
    
    	{name: "Mul8", argLength: 2, commutative: true}, // arg0 * arg1
    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/debug/elf/file.go

    	}
    
    	// The first entry is all zeros.
    	data = data[Sym64Size:]
    
    	symbols := make([]Symbol, len(data)/Sym64Size)
    
    	i := 0
    	var sym Sym64
    	for len(data) > 0 {
    		sym.Name = f.ByteOrder.Uint32(data[0:4])
    		sym.Info = data[4]
    		sym.Other = data[5]
    		sym.Shndx = f.ByteOrder.Uint16(data[6:8])
    		sym.Value = f.ByteOrder.Uint64(data[8:16])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  7. src/debug/elf/elf.go

    func R_TYPE64(info uint64) uint32   { return uint32(info) }
    func R_INFO(sym, typ uint32) uint64 { return uint64(sym)<<32 | uint64(typ) }
    
    // ELF64 symbol table entries.
    type Sym64 struct {
    	Name  uint32 /* String table index of name. */
    	Info  uint8  /* Type and binding information. */
    	Other uint8  /* Reserved (not used). */
    	Shndx uint16 /* Section index of symbol. */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 00:01:16 UTC 2024
    - 134.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssagen/ssa.go

    	addF("math/bits", "Sub64",
    		func(s *state, n *ir.CallExpr, args []*ssa.Value) *ssa.Value {
    			return s.newValue3(ssa.OpSub64borrow, types.NewTuple(types.Types[types.TUINT64], types.Types[types.TUINT64]), args[0], args[1], args[2])
    		},
    		sys.AMD64, sys.ARM64, sys.PPC64, sys.S390X, sys.RISCV64, sys.Loong64, sys.MIPS64)
    	alias("math/bits", "Sub", "math/bits", "Sub64", p8...)
    	addF("math/bits", "Div64",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/opGen.go

    		generic: true,
    	},
    	{
    		name:    "Sub16",
    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:    "Sub32",
    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:    "Sub64",
    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:    "SubPtr",
    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:    "Sub32F",
    		argLen:  2,
    		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