Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,124 for Xadd (0.06 sec)

  1. src/internal/runtime/atomic/atomic_arm.s

    TEXT ·StoreRel(SB),NOSPLIT,$0-8
    	B	·Store(SB)
    
    TEXT ·StoreReluintptr(SB),NOSPLIT,$0-8
    	B	·Store(SB)
    
    TEXT ·Xaddint32(SB),NOSPLIT,$0-12
    	B	·Xadd(SB)
    
    TEXT ·Xaddint64(SB),NOSPLIT,$-4-20
    	B	·Xadd64(SB)
    
    TEXT ·Xadduintptr(SB),NOSPLIT,$0-12
    	B	·Xadd(SB)
    
    TEXT ·Xchgint32(SB),NOSPLIT,$0-12
    	B	·Xchg(SB)
    
    TEXT ·Xchgint64(SB),NOSPLIT,$-4-20
    	B	·Xchg64(SB)
    
    // 64-bit atomics
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/internal/runtime/atomic/atomic_loong64.s

    // Atomically:
    //	if(*val == old){
    //		*val = new;
    //		return 1;
    //	} else
    //		return 0;
    TEXT ·Casp1(SB), NOSPLIT, $0-25
    	JMP	·Cas64(SB)
    
    // uint32 xadd(uint32 volatile *ptr, int32 delta)
    // Atomically:
    //	*val += delta;
    //	return *val;
    TEXT ·Xadd(SB), NOSPLIT, $0-20
    	MOVV	ptr+0(FP), R4
    	MOVW	delta+8(FP), R5
    	DBAR
    	LL	(R4), R6
    	ADDU	R6, R5, R7
    	MOVV	R7, R6
    	SC	R7, (R4)
    	BEQ	R7, -4(PC)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. src/internal/runtime/atomic/atomic_mipsx.go

    		}
    	}
    }
    
    //go:nosplit
    func And64(addr *uint64, val uint64) (old uint64) {
    	for {
    		old = *addr
    		if Cas64(addr, old, old&val) {
    			return old
    		}
    	}
    }
    
    //go:noescape
    func Xadd(ptr *uint32, delta int32) uint32
    
    //go:noescape
    func Xadduintptr(ptr *uintptr, delta uintptr) uintptr
    
    //go:noescape
    func Xchg(ptr *uint32, new uint32) uint32
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 20:08:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/internal/runtime/atomic/bench_test.go

    		for pb.Next() {
    			atomic.Or(&x[63], i)
    			i++
    		}
    	})
    }
    
    func BenchmarkXadd(b *testing.B) {
    	var x uint32
    	ptr := &x
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			atomic.Xadd(ptr, 1)
    		}
    	})
    }
    
    func BenchmarkXadd64(b *testing.B) {
    	var x uint64
    	ptr := &x
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			atomic.Xadd64(ptr, 1)
    		}
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/runtime/os_openbsd.go

    		if ret == _EWOULDBLOCK {
    			return -1
    		}
    	}
    }
    
    //go:nosplit
    func semawakeup(mp *m) {
    	atomic.Xadd(&mp.waitsemacount, 1)
    	ret := thrwakeup(uintptr(unsafe.Pointer(&mp.waitsemacount)), 1)
    	if ret != 0 && ret != _ESRCH {
    		// semawakeup can be called on signal stack.
    		systemstack(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/arch/x86/x86asm/plan9x.go

    	ROL:       true,
    	ROR:       true,
    	SAR:       true,
    	SBB:       true,
    	SHL:       true,
    	SHLD:      true,
    	SHR:       true,
    	SHRD:      true,
    	SUB:       true,
    	TEST:      true,
    	XADD:      true,
    	XCHG:      true,
    	XOR:       true,
    }
    
    var plan9Reg = [...]string{
    	AL:   "AL",
    	CL:   "CL",
    	BL:   "BL",
    	DL:   "DL",
    	AH:   "AH",
    	CH:   "CH",
    	BH:   "BH",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/add.pbtxt

    # NONE:           %[[add:.*]], %[[add_control:.*]] = tf_executor.island wraps "tf.Add"(%[[ARG_0]], %[[ARG_1]])
    # NONE:           fetch %[[add]]
    
    # UNKNOWN-LABEL: func @main
    # UNKNOWN-SAME:  (%[[ARG_0:[a-z0-9]+]]: tensor<*xi32>, %[[ARG_1:[a-z0-9]+]]: tensor<*xi32>) -> tensor<*xi32>
    # UNKNOWN-SAME:  control_outputs = ""
    # UNKNOWN-SAME:  inputs = "input0,input1"
    # UNKNOWN-SAME:  outputs = "Add"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 17 08:38:39 UTC 2020
    - 3.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/add.mlir

    // CHECK-NEXT:    %[[ARG0]] = f32[] parameter(0)
    // CHECK-NEXT:    %[[ARG1]] = f32[] parameter(1)
    // CHECK-NEXT:    [[ADD:%.*]] = f32[] add(f32[] %[[ARG0]], f32[] %[[ARG1]])
    // CHECK-NEXT:    ROOT %tuple.{{[0-9]+}} = (f32[]) tuple(f32[] [[ADD]])
    // CHECK-NEXT:  }
    
    // CHECK:       // InputMapping {0, 1}
    // CHECK-NEXT:  // XlaInputShape f32[]
    // CHECK-NEXT:  // XlaInputShape f32[]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 23 18:56:13 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/end2end/add.pbtxt

    # RUN: tf_tfl_translate -tf-input-arrays=input0,input1 -tf-input-shapes=4:4 -tf-input-data-types=DT_INT32,DT_INT32 -tf-output-arrays=Add %s -o - | flatbuffer_to_string - | FileCheck %s
    
    # Add two tensor<4xi32> inputs and return the result
    
    node {
      name: "Add"
      op: "Add"
      input: "input0"
      input: "input1"
      attr {
        key: "T"
        value {
          type: DT_INT32
        }
      }
    }
    node {
      name: "input0"
      op: "Placeholder"
      attr {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  10. src/crypto/sha1/sha1block_arm64.s

    	VADD	V18.S4, V4.S4, V16.S4
    	HASHUPDATEPARITY
    
    	VADD	V18.S4, V5.S4, V16.S4
    	HASHUPDATEPARITY
    
    	VADD	V18.S4, V6.S4, V16.S4
    	HASHUPDATEPARITY
    
    	VADD	V18.S4, V7.S4, V16.S4
    	HASHUPDATEPARITY
    
    	SUB	$64, R3, R3                                  // message length - 64bytes, then compare with 64bytes
    	VADD	V2.S4, V0.S4, V0.S4
    	VADD	V1.S4, V20.S4, V20.S4
    	CBNZ	R3, blockloop
    
    sha1ret:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top