Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 151 for clobber (0.19 sec)

  1. test/codegen/clobberdead.go

    package codegen
    
    type T [2]*int // contain pointer, not SSA-able (so locals are not registerized)
    
    var p1, p2, p3 T
    
    func F() {
    	// 3735936685 is 0xdeaddead. On ARM64 R27 is REGTMP.
    	// clobber x, y at entry. not clobber z (stack object).
    	// amd64:`MOVL\t\$3735936685, command-line-arguments\.x`, `MOVL\t\$3735936685, command-line-arguments\.y`, -`MOVL\t\$3735936685, command-line-arguments\.z`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/mergelocals/integration.go

    	np uintptr
    	x  [1023]int
    }
    
    var G int
    
    //go:noinline
    func clobber() {
    	G++
    }
    
    func ABC(i, j int) int {
    	r := 0
    
    	// here v2 and v3 can be overlapped.
    	clobber()
    	if i < 101 {
    		var v2 Vanilla
    		v2.x[i] = j
    		r += v2.x[j]
    	}
    	if j != 303 {
    		var v3 Vanilla2
    		v3.x[i] = j
    		r += v3.x[j]
    	}
    	clobber()
    
    	// not an overlap candidate (only one var of this size).
    	var s Single
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 17:42:19 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/runtime/tls_arm.s

    // SIGSEGV, and our runtime.sigtramp don't even know we
    // are in external code, and will continue to use R10,
    // this might as well result in another SIGSEGV.
    // Note: both functions will clobber R0 and R11 and
    // can be called from 5c ABI code.
    
    // On android, runtime.tls_g is a normal variable.
    // TLS offset is computed in x_cgo_inittls.
    #ifdef GOOS_android
    #define TLSG_IS_VARIABLE
    #endif
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 20:38:07 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue9400/asm_mips64x.s

    //go:build (mips64 || mips64le) && gc
    
    #include "textflag.h"
    
    #define SYNC	WORD $0xf
    
    TEXT ·RewindAndSetgid(SB),NOSPLIT|NOFRAME,$0-0
    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADDV	$(1024*8), R29
    
    	// Ask signaller to setgid
    	MOVW	$1, R1
    	SYNC
    	MOVW	R1, ·Baton(SB)
    	SYNC
    
    	// Wait for setgid completion
    loop:
    	SYNC
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 691 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue9400/asm_amd64x.s

    //go:build (amd64 || amd64p32) && gc
    
    #include "textflag.h"
    
    TEXT ·RewindAndSetgid(SB),NOSPLIT,$0-0
    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADDQ	$(1024 * 8), SP
    
    	// Ask signaller to setgid
    	MOVL	$1, ·Baton(SB)
    
    	// Wait for setgid completion
    loop:
    	PAUSE
    	MOVL	·Baton(SB), AX
    	CMPL	AX, $0
    	JNE	loop
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 589 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue9400/asm_arm.s

    	MOVW	$0xffff0fc0, R15 // R15 is PC
    
    TEXT ·RewindAndSetgid(SB),NOSPLIT|NOFRAME,$0-0
    	// Save link register
    	MOVW	R14, R4
    
    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADD	$(1024 * 8), R13
    
    	// Ask signaller to setgid
    	MOVW	$·Baton(SB), R2
    storeloop:
    	MOVW	0(R2), R0
    	MOVW	$1, R1
    	BL	cas<>(SB)
    	BCC	storeloop
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 758 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue9400/asm_riscv64.s

    // license that can be found in the LICENSE file.
    
    //go:build riscv64 && gc
    
    #include "textflag.h"
    
    TEXT ·RewindAndSetgid(SB),NOSPLIT|NOFRAME,$0-0
    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADD	$(1024*8), X2
    
    	// Ask signaller to setgid
    	MOV	$1, X5
    	FENCE
    	MOVW	X5, ·Baton(SB)
    	FENCE
    
    	// Wait for setgid completion
    loop:
    	FENCE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 659 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue9400/asm_mipsx.s

    //go:build (mips || mipsle) && gc
    
    #include "textflag.h"
    
    TEXT ·RewindAndSetgid(SB),NOSPLIT|NOFRAME,$0-0
    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADDU	$(1024*8), R29
    
    	// Ask signaller to setgid
    	MOVW	$1, R1
    	SYNC
    	MOVW	R1, ·Baton(SB)
    	SYNC
    
    	// Wait for setgid completion
    loop:
    	SYNC
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 663 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue9400/asm_ppc64x.s

    //go:build (ppc64 || ppc64le) && gc
    
    #include "textflag.h"
    
    TEXT ·RewindAndSetgid(SB),NOSPLIT|NOFRAME,$0-0
    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADD	$(1024 * 8), R1
    
    	// Ask signaller to setgid
    	MOVW	$1, R3
    	SYNC
    	MOVW	R3, ·Baton(SB)
    
    	// Wait for setgid completion
    loop:
    	SYNC
    	MOVW	·Baton(SB), R3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 668 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue9400/asm_386.s

    //go:build gc
    
    #include "textflag.h"
    
    TEXT ·RewindAndSetgid(SB),NOSPLIT,$0-0
    	MOVL	$·Baton(SB), BX
    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADDL	$(1024 * 8), SP
    
    	// Ask signaller to setgid
    	MOVL	$1, (BX)
    
    	// Wait for setgid completion
    loop:
    	PAUSE
    	MOVL	(BX), AX
    	CMPL	AX, $0
    	JNE	loop
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 575 bytes
    - Viewed (0)
Back to top