Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for StorepNoWB (0.23 sec)

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

    	DBAR
    	MOVV	R5, R6
    	LLV	(R4), R7
    	SCV	R6, (R4)
    	BEQ	R6, -3(PC)
    	MOVV	R7, ret+16(FP)
    	DBAR
    	RET
    
    TEXT ·Xchguintptr(SB), NOSPLIT, $0-24
    	JMP	·Xchg64(SB)
    
    TEXT ·StorepNoWB(SB), NOSPLIT, $0-16
    	JMP	·Store64(SB)
    
    TEXT ·StoreRel(SB), NOSPLIT, $0-12
    	JMP	·Store(SB)
    
    TEXT ·StoreRel64(SB), NOSPLIT, $0-16
    	JMP	·Store64(SB)
    
    TEXT ·StoreReluintptr(SB), NOSPLIT, $0-16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. src/internal/runtime/atomic/atomic_386.s

    	//	DX:AX = *addr
    	// all in one instruction
    	LOCK
    	CMPXCHG8B	0(BP)
    	JNZ	swaploop
    
    	// success
    	// return DX:AX
    	MOVL	AX, ret_lo+12(FP)
    	MOVL	DX, ret_hi+16(FP)
    	RET
    
    TEXT ·StorepNoWB(SB), NOSPLIT, $0-8
    	MOVL	ptr+0(FP), BX
    	MOVL	val+4(FP), AX
    	XCHGL	AX, 0(BX)
    	RET
    
    TEXT ·Store(SB), NOSPLIT, $0-8
    	MOVL	ptr+0(FP), BX
    	MOVL	val+4(FP), AX
    	XCHGL	AX, 0(BX)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. src/internal/runtime/atomic/atomic_mips64x.s

    	SYNC
    	RET
    
    TEXT ·Xchgint32(SB), NOSPLIT, $0-20
    	JMP	·Xchg(SB)
    
    TEXT ·Xchgint64(SB), NOSPLIT, $0-24
    	JMP	·Xchg64(SB)
    
    TEXT ·Xchguintptr(SB), NOSPLIT, $0-24
    	JMP	·Xchg64(SB)
    
    TEXT ·StorepNoWB(SB), NOSPLIT, $0-16
    	JMP	·Store64(SB)
    
    TEXT ·StoreRel(SB), NOSPLIT, $0-12
    	JMP	·Store(SB)
    
    TEXT ·StoreRel64(SB), NOSPLIT, $0-16
    	JMP	·Store64(SB)
    
    TEXT ·StoreReluintptr(SB), NOSPLIT, $0-16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 21:29:34 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. src/internal/runtime/atomic/atomic_arm64.s

    // uint64 ·LoadAcquintptr(uint64 volatile* addr)
    TEXT ·LoadAcq64(SB),NOSPLIT,$0-16
    	B	·Load64(SB)
    
    // uintptr ·LoadAcq64(uintptr volatile* addr)
    TEXT ·LoadAcquintptr(SB),NOSPLIT,$0-16
    	B	·Load64(SB)
    
    TEXT ·StorepNoWB(SB), NOSPLIT, $0-16
    	B	·Store64(SB)
    
    TEXT ·StoreRel(SB), NOSPLIT, $0-12
    	B	·Store(SB)
    
    TEXT ·StoreRel64(SB), NOSPLIT, $0-16
    	B	·Store64(SB)
    
    TEXT ·StoreReluintptr(SB), NOSPLIT, $0-16
    	B	·Store64(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. src/internal/runtime/atomic/atomic_ppc64x.s

    	RET
    
    TEXT ·Xchgint32(SB), NOSPLIT, $0-20
    	BR	·Xchg(SB)
    
    TEXT ·Xchgint64(SB), NOSPLIT, $0-24
    	BR	·Xchg64(SB)
    
    TEXT ·Xchguintptr(SB), NOSPLIT, $0-24
    	BR	·Xchg64(SB)
    
    TEXT ·StorepNoWB(SB), NOSPLIT, $0-16
    	BR	·Store64(SB)
    
    TEXT ·Store(SB), NOSPLIT, $0-12
    	MOVD	ptr+0(FP), R3
    	MOVW	val+8(FP), R4
    	SYNC
    	MOVW	R4, 0(R3)
    	RET
    
    TEXT ·Store8(SB), NOSPLIT, $0-9
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. src/internal/runtime/atomic/types.go

    // It is safe to use with values not found in the Go heap.
    // Prefer Store instead.
    //
    //go:nosplit
    func (u *UnsafePointer) StoreNoWB(value unsafe.Pointer) {
    	StorepNoWB(unsafe.Pointer(&u.value), value)
    }
    
    // Store updates the value atomically.
    func (u *UnsafePointer) Store(value unsafe.Pointer) {
    	storePointer(&u.value, value)
    }
    
    // provided by runtime
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. src/runtime/iface.go

    		}
    		if m2 == nil {
    			// Use atomic write here so if a reader sees m, it also
    			// sees the correctly initialized fields of m.
    			// NoWB is ok because m is not in heap memory.
    			// *p = m
    			atomic.StorepNoWB(unsafe.Pointer(p), unsafe.Pointer(m))
    			t.count++
    			return
    		}
    		h += i
    		h &= mask
    	}
    }
    
    // itabInit fills in the m.Fun array with all the code pointers for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  8. src/runtime/malloc.go

    			}
    			if h.arenasHugePages {
    				sysHugePage(unsafe.Pointer(l2), unsafe.Sizeof(*l2))
    			} else {
    				sysNoHugePage(unsafe.Pointer(l2), unsafe.Sizeof(*l2))
    			}
    			atomic.StorepNoWB(unsafe.Pointer(&h.arenas[ri.l1()]), unsafe.Pointer(l2))
    		}
    
    		if l2[ri.l2()] != nil {
    			throw("arena already initialized")
    		}
    		var r *heapArena
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  9. src/runtime/mheap.go

    	p := fresh.tryAlloc(bytesNeeded)
    	if p == nil {
    		throw("markBits overflow")
    	}
    
    	// Add the fresh arena to the "next" list.
    	fresh.next = gcBitsArenas.next
    	atomic.StorepNoWB(unsafe.Pointer(&gcBitsArenas.next), unsafe.Pointer(fresh))
    
    	unlock(&gcBitsArenas.lock)
    	return p
    }
    
    // newAllocBits returns a pointer to 8 byte aligned bytes
    // to be used for this span's alloc bits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssagen/ssa.go

    			return nil
    		},
    		sys.AMD64, sys.ARM64, sys.Loong64, sys.MIPS64, sys.PPC64, sys.RISCV64, sys.S390X)
    	addF("internal/runtime/atomic", "StorepNoWB",
    		func(s *state, n *ir.CallExpr, args []*ssa.Value) *ssa.Value {
    			s.vars[memVar] = s.newValue3(ssa.OpAtomicStorePtrNoWB, types.TypeMem, args[0], args[1], s.mem())
    			return nil
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top