Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 184 for clobber (0.1 sec)

  1. src/runtime/sys_netbsd_arm64.s

    	MOVD	8*36(g), g
    
    	// this might be called in external code context,
    	// where g is not set.
    	// first save R0, because runtime·load_g will clobber it
    	MOVD	R0, 8(RSP)		// signum
    	MOVB	runtime·iscgo(SB), R0
    	CMP 	$0, R0
    	// XXX branch destination
    	BEQ	2(PC)
    	BL	runtime·load_g(SB)
    
    	// Restore signum to R0.
    	MOVW	8(RSP), R0
    	// R1 and R2 already contain info and ctx, respectively.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  2. src/runtime/sys_freebsd_arm64.s

    	SAVE_R19_TO_R28(8*4)
    	SAVE_F8_TO_F15(8*14)
    
    	// this might be called in external code context,
    	// where g is not set.
    	// first save R0, because runtime·load_g will clobber it
    	MOVW	R0, 8(RSP)
    	MOVBU	runtime·iscgo(SB), R0
    	CMP	$0, R0
    	BEQ	2(PC)
    	BL	runtime·load_g(SB)
    
    	// Restore signum to R0.
    	MOVW	8(RSP), R0
    	// R1 and R2 already contain info and ctx, respectively.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  3. src/runtime/tls_mipsx.s

    // NOTE: gogo assumes load_g only clobers g (R30) and REGTMP (R23)
    TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0
    	MOVB	runtime·iscgo(SB), R23
    	BEQ	R23, nocgo
    
    	MOVW	R3, R23
    	MOVW	g, runtime·tls_g(SB) // TLS relocation clobbers R3
    	MOVW	R23, R3
    
    nocgo:
    	RET
    
    TEXT runtime·load_g(SB),NOSPLIT|NOFRAME,$0-0
    	MOVW	runtime·tls_g(SB), g // TLS relocation clobbers R3
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 14:52:12 UTC 2023
    - 710 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/fixedbugs_test.go

    	"testing"
    )
    
    type T struct {
    	x [2]int64 // field that will be clobbered. Also makes type not SSAable.
    	p *byte    // has a pointer
    }
    
    //go:noinline
    func makeT() T {
    	return T{}
    }
    
    var g T
    
    var sink interface{}
    
    func TestIssue15854(t *testing.T) {
    	for i := 0; i < 10000; i++ {
    		if g.x[0] != 0 {
    			t.Fatalf("g.x[0] clobbered with %x\n", g.x[0])
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. src/runtime/tls_mips64x.s

    //
    // NOTE: mcall() assumes this clobbers only R23 (REGTMP).
    TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0
    	MOVB	runtime·iscgo(SB), R23
    	BEQ	R23, nocgo
    
    	MOVV	R3, R23	// save R3
    	MOVV	g, runtime·tls_g(SB) // TLS relocation clobbers R3
    	MOVV	R23, R3	// restore R3
    
    nocgo:
    	RET
    
    TEXT runtime·load_g(SB),NOSPLIT|NOFRAME,$0-0
    	MOVV	runtime·tls_g(SB), g // TLS relocation clobbers R3
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 733 bytes
    - Viewed (0)
  6. test/fixedbugs/issue30977.go

    // run
    
    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 30977: write barrier call clobbers volatile
    // value when there are multiple uses of the value.
    
    package main
    
    import "runtime"
    
    type T struct {
    	a, b, c, d, e string
    }
    
    //go:noinline
    func g() T {
    	return T{"a", "b", "c", "d", "e"}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:05:13 UTC 2019
    - 865 bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/amd64dynlinkerror.s

    	MOVQ R15, AX // ERROR "when dynamic linking, R15 is clobbered by a global variable access and is used here"
    	RET
    TEXT ·a8(SB), 0, $0-0
    	CMPL runtime·writeBarrier(SB), $0
    	ADDQ AX, R15 // ERROR "when dynamic linking, R15 is clobbered by a global variable access and is used here"
    	RET
    TEXT ·a9(SB), 0, $0-0
    	CMPL runtime·writeBarrier(SB), $0
    	ORQ R15, R15 // ERROR "when dynamic linking, R15 is clobbered by a global variable access and is used here"
    	RET
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 15 20:45:41 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. src/runtime/tls_ppc64x.s

    // thread-local memory, so that we can call externally compiled
    // ppc64 code that will overwrite this register.
    //
    // If !iscgo, this is a no-op.
    //
    // NOTE: setg_gcc<> assume this clobbers only R31.
    TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0
    #ifndef GOOS_aix
    #ifndef GOOS_openbsd
    	MOVBZ	runtime·iscgo(SB), R31
    	CMP	R31, $0
    	BEQ	nocgo
    #endif
    #endif
    	MOVD	runtime·tls_g(SB), R31
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 02:48:11 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. src/runtime/tls_s390x.s

    // thread-local memory, so that we can call externally compiled
    // s390x code that will overwrite this register.
    //
    // If !iscgo, this is a no-op.
    //
    // NOTE: setg_gcc<> assume this clobbers only R10 and R11.
    TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0
    	MOVB	runtime·iscgo(SB),  R10
    	CMPBEQ	R10, $0, nocgo
    	MOVW	AR0, R11
    	SLD	$32, R11
    	MOVW	AR1, R11
    	MOVD	runtime·tls_g(SB), R10
    	MOVD	g, 0(R10)(R11*1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 07 18:56:54 UTC 2016
    - 1.5K bytes
    - Viewed (0)
  10. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/service/StoreTarget.java

        @Override
        public void writeTo(OutputStream output) throws IOException {
            Closer closer = Closer.create();
            closer.register(output);
            try {
                stored = true;
                Files.asByteSource(file).copyTo(output);
            } catch (Exception e) {
                throw closer.rethrow(e);
            } finally {
                closer.close();
            }
        }
    
        public boolean isStored() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top