Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 229 for Subtract (0.17 sec)

  1. src/crypto/internal/nistec/p256_asm_arm64.s

    	// acc = poly
    	MOVD	$-1, acc0
    	MOVD	p256const0<>(SB), acc1
    	MOVD	$0, acc2
    	MOVD	p256const1<>(SB), acc3
    	// Load the original value
    	LDP	0*16(a_ptr), (t0, t1)
    	LDP	1*16(a_ptr), (t2, t3)
    	// Speculatively subtract
    	SUBS	t0, acc0
    	SBCS	t1, acc1
    	SBCS	t2, acc2
    	SBC	t3, acc3
    	// If condition is 0, keep original value
    	CMP	$0, hlp0
    	CSEL	EQ, t0, acc0, acc0
    	CSEL	EQ, t1, acc1, acc1
    	CSEL	EQ, t2, acc2, acc2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/RISCV64.rules

    (FSUB(S|D) a (FMUL(S|D) x y)) && a.Block.Func.useFMA(v) => (FNMSUB(S|D) x y a)
    (FSUB(S|D) (FMUL(S|D) x y) a) && a.Block.Func.useFMA(v) => (FMSUB(S|D) x y a)
    
    // Merge negation into fused multiply-add and multiply-subtract.
    //
    // Key:
    //
    //   [+ -](x * y [+ -] z).
    //    _ N         A S
    //                D U
    //                D B
    //
    // Note: multiplication commutativity handled by rule generator.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  3. src/cmd/internal/dwarf/dwarf.go

    	// so indirect through a closure.
    	PutLocationList func(listSym, startPC Sym)
    	Scope           int32
    	Type            Sym
    	DeclFile        string
    	DeclLine        uint
    	DeclCol         uint
    	InlIndex        int32 // subtract 1 to form real index into InlTree
    	ChildIndex      int32 // child DIE index in abstract function
    	IsInAbstract    bool  // variable exists in abstract function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
  4. src/runtime/mgcpacer_test.go

    					bytesScanned := int64(cycle.scanRate * rateConv * float64(e.nCores) * utilization)
    					bytesAllocated := int64(cycle.allocRate * rateConv * float64(e.nCores) * (1 - utilization))
    
    					// Subtract work from our model.
    					globalsScanned, stackScanned, heapScanned := doWork(bytesScanned)
    
    					// doWork may not use all of bytesScanned.
    					// In this case, the GC actually ends sometime in this period.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 13:53:21 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  5. cmd/data-usage-cache.go

    		// console.Debugf("compacting %v, removing %d children\n", candidate, removing)
    
    		flat.Compacted = true
    		d.deleteRecursive(candidate)
    		d.replaceHashed(candidate, nil, *flat)
    
    		// Remove top entry and subtract removed children.
    		remove -= removing
    		leaves = leaves[1:]
    	}
    }
    
    // forceCompact will force compact the cache of the top entry.
    // If the number of children is more than limit*100, it will compact self.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 10 14:49:50 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  6. src/encoding/gob/decode.go

    		if delta < 0 {
    			errorf("decode: corrupted data: negative delta")
    		}
    		if delta == 0 { // struct terminator is zero delta fieldnum
    			break
    		}
    		if state.fieldnum >= len(engine.instr)-delta { // subtract to compare without overflow
    			error_(errRange)
    		}
    		fieldnum := state.fieldnum + delta
    		instr := &engine.instr[fieldnum]
    		var field reflect.Value
    		if instr.index != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:10:23 UTC 2023
    - 40.1K bytes
    - Viewed (0)
  7. src/math/all_test.go

    //go:noinline
    func fnmadd(x, y, z float64) float64 {
    	return FMA(-x, y, -z)
    }
    
    func TestFMANegativeArgs(t *testing.T) {
    	// Some architectures have instructions for fused multiply-subtract and
    	// also negated variants of fused multiply-add and subtract. This test
    	// aims to check that the optimizations that generate those instructions
    	// are applied correctly, if they exist.
    	for _, c := range fmaC {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
  8. tensorflow/cc/gradients/math_grad.cc

      // tf.where(condition, x, y) requires condition to have the same shape as x
      // and y.
      Output is_positive_shape = Shape(scope, is_positive);
      Output ones =
          Tile(scope, Const(scope, {1}), Subtract(scope, Rank(scope, params), {1}));
      auto broadcastable_shape = Concat(scope, {is_positive_shape, ones},
                                        /*axis=*/0);
      is_positive = Reshape(scope, is_positive, broadcastable_shape);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  9. src/runtime/export_test.go

    	}
    
    	// Free extra data structures.
    	sysFreeOS(unsafe.Pointer(&p.scav.index.chunks[0]), uintptr(cap(p.scav.index.chunks))*unsafe.Sizeof(atomicScavChunkData{}))
    
    	// Subtract back out whatever we mapped for the summaries.
    	// sysUsed adds to p.sysStat and memstats.mappedReady no matter what
    	// (and in anger should actually be accounted for), and there's no other
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        // Exponential of input values and then their sum can be very large here.
        // Division with large denominator is numerically unstable. To improve
        // numerical stability, subtract each batch with their max element so that
        // the maximum input value is zero. It can be shown that softmax computed
        // after adding or subtracting all inputs in a batch using a common value
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
Back to top