Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for batzen (2.65 sec)

  1. src/cmd/cgo/internal/test/issue9400/asm_riscv64.s

    	// 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
    	MOVW	·Baton(SB), X5
    	OR	X6, X6, X6	// hint that we're in a spin loop
    	BNE	ZERO, X5, loop
    	FENCE
    
    	// Restore stack
    	ADD	$(-1024*8), X2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 659 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue9400/asm_amd64x.s

    	// 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
    
    	// Restore stack
    	SUBQ	$(1024 * 8), SP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 589 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue9400/asm_mipsx.s

    	// 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
    	MOVW	·Baton(SB), R1
    	OR	R2, R2, R2	// hint that we're in a spin loop
    	BNE	R1, loop
    	SYNC
    
    	// Restore stack
    	ADDU	$(-1024*8), R29
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 663 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue9400/asm_ppc64x.s

    	// 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
    	CMP	R3, $0
    	// Hint that we're in a spin loop
    	OR	R1, R1, R1
    	BNE	loop
    	ISYNC
    
    	// Restore stack
    	SUB	$(1024 * 8), R1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 668 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue9400/asm_s390x.s

    	// will clobber the test pattern created by the caller
    	ADD	$(1024 * 8), R15
    
    	// Ask signaller to setgid
    	MOVD	$·Baton(SB), R5
    	MOVW	$1, 0(R5)
    
    	// Wait for setgid completion
    loop:
    	SYNC
    	MOVW	·Baton(SB), R3
    	CMPBNE	R3, $0, loop
    
    	// Restore stack
    	SUB	$(1024 * 8), R15
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 580 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue9400/asm_loong64.s

    	// will clobber the test pattern created by the caller
    	ADDV	$(1024*8), R3
    
    	// Ask signaller to setgid
    	MOVW	$1, R12
    	DBAR
    	MOVW	R12, ·Baton(SB)
    	DBAR
    
    	// Wait for setgid completion
    loop:
    	DBAR
    	MOVW	·Baton(SB), R12
    	OR	R13, R13, R13	// hint that we're in a spin loop
    	BNE	R12, loop
    	DBAR
    
    	// Restore stack
    	ADDV	$(-1024*8), R3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 633 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue9400/asm_386.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //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)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 575 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue9400/asm_arm64.s

    	MOVD	R30, R9
    
    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADD	$(1024 * 8), RSP
    
    	// Ask signaller to setgid
    	MOVD	$·Baton(SB), R0
    	MOVD	$1, R1
    storeloop:
    	LDAXRW	(R0), R2
    	STLXRW	R1, (R0), R3
    	CBNZ	R3, storeloop
    
    	// Wait for setgid completion
    	MOVW	$0, R1
    	MOVW	$0, R2
    loop:
    	LDAXRW	(R0), R3
    	CMPW	R1, R3
    	BNE	loop
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 760 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue9400/asm_mips64x.s

    	// 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
    	MOVW	·Baton(SB), R1
    	OR	R2, R2, R2	// hint that we're in a spin loop
    	BNE	R1, loop
    	SYNC
    
    	// Restore stack
    	ADDV	$(-1024*8), R29
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 691 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue9400/asm_arm.s

    	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
    
    	// Wait for setgid completion
    loop:
    	MOVW	$0, R0
    	MOVW	$0, R1
    	BL	cas<>(SB)
    	BCC	loop
    
    	// Restore stack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 758 bytes
    - Viewed (0)
Back to top