Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for StorepNoWB (0.16 sec)

  1. src/internal/runtime/atomic/atomic_riscv64.go

    //go:noescape
    func Store(ptr *uint32, val uint32)
    
    //go:noescape
    func Store8(ptr *uint8, val uint8)
    
    //go:noescape
    func Store64(ptr *uint64, val uint64)
    
    // NO go:noescape annotation; see atomic_pointer.go.
    func StorepNoWB(ptr unsafe.Pointer, val unsafe.Pointer)
    
    //go:noescape
    func StoreRel(ptr *uint32, val uint32)
    
    //go:noescape
    func StoreRel64(ptr *uint64, val uint64)
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. src/internal/runtime/atomic/atomic_mipsx.go

    //go:noescape
    func Store(ptr *uint32, val uint32)
    
    //go:noescape
    func Store8(ptr *uint8, val uint8)
    
    // NO go:noescape annotation; see atomic_pointer.go.
    func StorepNoWB(ptr unsafe.Pointer, val unsafe.Pointer)
    
    //go:noescape
    func StoreRel(ptr *uint32, val uint32)
    
    //go:noescape
    func StoreReluintptr(ptr *uintptr, val uintptr)
    
    //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)
  3. src/internal/runtime/atomic/atomic_s390x.s

    	SYNC
    	RET
    
    // func Store64(ptr *uint64, val uint64)
    TEXT ·Store64(SB), NOSPLIT, $0
    	MOVD	ptr+0(FP), R2
    	MOVD	val+8(FP), R3
    	MOVD	R3, 0(R2)
    	SYNC
    	RET
    
    // func StorepNoWB(ptr unsafe.Pointer, val unsafe.Pointer)
    TEXT ·StorepNoWB(SB), NOSPLIT, $0
    	MOVD	ptr+0(FP), R2
    	MOVD	val+8(FP), R3
    	MOVD	R3, 0(R2)
    	SYNC
    	RET
    
    // func Cas(ptr *uint32, old, new uint32) bool
    // Atomically:
    //	if *ptr == old {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. src/internal/runtime/atomic/atomic_riscv64.s

    TEXT ·LoadAcquintptr(SB),NOSPLIT|NOFRAME,$0-16
    	JMP	·Load64(SB)
    
    // func Loadp(ptr unsafe.Pointer) unsafe.Pointer
    TEXT ·Loadp(SB),NOSPLIT,$0-16
    	JMP	·Load64(SB)
    
    // func StorepNoWB(ptr unsafe.Pointer, val unsafe.Pointer)
    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)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. src/runtime/atomic_pointer.go

    func atomicstorep(ptr unsafe.Pointer, new unsafe.Pointer) {
    	if writeBarrier.enabled {
    		atomicwb((*unsafe.Pointer)(ptr), new)
    	}
    	if goexperiment.CgoCheck2 {
    		cgoCheckPtrWrite((*unsafe.Pointer)(ptr), new)
    	}
    	atomic.StorepNoWB(noescape(ptr), new)
    }
    
    // atomic_storePointer is the implementation of runtime/internal/UnsafePointer.Store
    // (like StoreNoWB but with the write barrier).
    //
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/internal/runtime/atomic/atomic_test.go

    		}
    	}
    }
    
    func TestStorepNoWB(t *testing.T) {
    	var p [2]*int
    	for i := range p {
    		atomic.StorepNoWB(unsafe.Pointer(&p[i]), unsafe.Pointer(new(int)))
    	}
    	if p[0] == p[1] {
    		t.Error("Bad escape analysis of StorepNoWB")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/internal/runtime/atomic/atomic_arm.go

    		}
    	}
    }
    
    //go:nosplit
    func Xchguintptr(addr *uintptr, v uintptr) uintptr {
    	return uintptr(Xchg((*uint32)(unsafe.Pointer(addr)), uint32(v)))
    }
    
    // Not noescape -- it installs a pointer to addr.
    func StorepNoWB(addr unsafe.Pointer, v unsafe.Pointer)
    
    //go:noescape
    func Store(addr *uint32, v uint32)
    
    //go:noescape
    func StoreRel(addr *uint32, v uint32)
    
    //go:noescape
    func StoreReluintptr(addr *uintptr, v uintptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. src/internal/runtime/atomic/atomic_amd64.s

    	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
    	MOVQ	ptr+0(FP), BX
    	MOVQ	val+8(FP), AX
    	XCHGQ	AX, 0(BX)
    	RET
    
    TEXT ·Store(SB), NOSPLIT, $0-12
    	MOVQ	ptr+0(FP), BX
    	MOVL	val+8(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
    - 5.2K bytes
    - Viewed (0)
  9. src/internal/runtime/atomic/atomic_arm.s

    	B	·Load(SB)
    
    TEXT ·Storeint32(SB),NOSPLIT,$0-8
    	B	·Store(SB)
    
    TEXT ·Storeint64(SB),NOSPLIT,$0-12
    	B	·Store64(SB)
    
    TEXT ·Storeuintptr(SB),NOSPLIT,$0-8
    	B	·Store(SB)
    
    TEXT ·StorepNoWB(SB),NOSPLIT,$0-8
    	B	·Store(SB)
    
    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)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. src/internal/runtime/atomic/atomic_mipsx.s

    	JMP	·Cas(SB)
    
    TEXT ·Xchgint32(SB),NOSPLIT,$0-12
    	JMP	·Xchg(SB)
    
    TEXT ·Xchgint64(SB),NOSPLIT,$0-20
    	JMP	·Xchg64(SB)
    
    TEXT ·Xchguintptr(SB),NOSPLIT,$0-12
    	JMP	·Xchg(SB)
    
    TEXT ·StorepNoWB(SB),NOSPLIT,$0-8
    	JMP	·Store(SB)
    
    TEXT ·StoreRel(SB),NOSPLIT,$0-8
    	JMP	·Store(SB)
    
    TEXT ·StoreReluintptr(SB),NOSPLIT,$0-8
    	JMP	·Store(SB)
    
    // void	Or8(byte volatile*, byte);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 21:29:34 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top