Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 38 for setg_gcc (0.44 sec)

  1. src/runtime/cgo/gcc_386.S

    /*
     * Windows still insists on underscore prefixes for C function names.
     */
    #if defined(_WIN32)
    #define EXT(s) _##s
    #else
    #define EXT(s) s
    #endif
    
    /*
     * void crosscall1(void (*fn)(void), void (*setg_gcc)(void*), void *g)
     *
     * Calling into the gc tool chain, where all registers are caller save.
     * Called from standard x86 ABI, where %ebp, %ebx, %esi,
     * and %edi are callee-save, so they must be saved explicitly.
     */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 12 03:56:58 UTC 2023
    - 959 bytes
    - Viewed (0)
  2. src/runtime/cgo/gcc_mips64x.S

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build mips64 || mips64le
    
    .file "gcc_mips64x.S"
    
    /*
     * void crosscall1(void (*fn)(void), void (*setg_gcc)(void *g), void *g)
     *
     * Calling into the gc tool chain, where all registers are caller save.
     * Called from standard MIPS N64 ABI, where $16-$23, $28, $30, and $f24-$f31
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. src/runtime/tls_arm.s

    	MOVW 	$runtime·tls_g(SB), R2 	// arg 2: &tls_g
    #else
    	MOVW	$0, R2			// arg 2: not used when using platform tls
    #endif
    	MOVW	$setg_gcc<>(SB), R1 	// arg 1: setg
    	MOVW	g, R0 			// arg 0: G
    	BL	(R4) // will clobber R0-R3
    nocgo:
    	RET
    
    // void setg_gcc(G*); set g called from gcc.
    TEXT setg_gcc<>(SB),NOSPLIT,$0
    	MOVW	R0, g
    	B		runtime·save_g(SB)
    
    #ifdef TLSG_IS_VARIABLE
    #ifdef GOOS_android
    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/runtime/cgo/gcc_arm.S

    // Copyright 2012 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.
    
    .file "gcc_arm.S"
    
    /*
     * void crosscall1(void (*fn)(void), void (*setg_gcc)(void *g), void *g)
     *
     * Calling into the gc tool chain, where all registers are caller save.
     * Called from standard ARM EABI, where r4-r11 are callee-save, so they
     * must be saved explicitly.
     */
    .globl crosscall1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 03:39:42 UTC 2023
    - 849 bytes
    - Viewed (0)
  5. src/runtime/tls_ppc64x.s

    // save_g saves the g register into pthread-provided
    // 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 02:48:11 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. src/runtime/tls_s390x.s

    // save_g saves the g register into pthread-provided
    // 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 07 18:56:54 UTC 2016
    - 1.5K bytes
    - Viewed (0)
  7. src/runtime/cgo/gcc_arm64.S

    #define EXT(s) s
    #endif
    
    // Apple's ld64 wants 4-byte alignment for ARM code sections.
    // .align in both Apple as and GNU as treat n as aligning to 2**n bytes.
    .align	2
    
    /*
     * void crosscall1(void (*fn)(void), void (*setg_gcc)(void *g), void *g)
     *
     * Calling into the gc tool chain, where all registers are caller save.
     * Called from standard ARM EABI, where x19-x29 are callee-save, so they
     * must be saved explicitly, along with x30 (LR).
     */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 05 16:41:48 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/operand_test.go

    	{"$1000", "$1000"},
    	{"$1000000", "$1000000"},
    	{"$1000000000", "$1000000000"},
    	{"$__tsan_func_enter(SB)", "$__tsan_func_enter(SB)"},
    	{"$main(SB)", "$main(SB)"},
    	{"$masks<>(SB)", "$masks<>(SB)"},
    	{"$setg_gcc<>(SB)", "$setg_gcc<>(SB)"},
    	{"$shifts<>(SB)", "$shifts<>(SB)"},
    	{"$~(1<<63)", "$9223372036854775807"},
    	{"$~0x3F", "$-64"},
    	{"$~15", "$-16"},
    	{"(((8)&0xf)*4)(SP)", "32(SP)"},
    	{"(((8-14)&0xf)*4)(SP)", "40(SP)"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  9. src/runtime/asm_mips64x.s

    TEXT runtime·setg(SB), NOSPLIT, $0-8
    	MOVV	gg+0(FP), g
    	// This only happens if iscgo, so jump straight to save_g
    	JAL	runtime·save_g(SB)
    	RET
    
    // void setg_gcc(G*); set g called from gcc with g in R1
    TEXT setg_gcc<>(SB),NOSPLIT,$0-0
    	MOVV	R1, g
    	JAL	runtime·save_g(SB)
    	RET
    
    TEXT runtime·abort(SB),NOSPLIT|NOFRAME,$0-0
    	MOVW	(R0), R0
    	UNDEF
    
    // AES hashing not implemented for mips64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 19:45:59 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  10. src/runtime/runtime-gdb_test.go

    	}
    
    	// Execute gdb commands.
    	// 'setg_gcc' is the first point where we can reproduce the issue with just one 'run' command.
    	args := []string{"-nx", "-batch",
    		"-iex", "add-auto-load-safe-path " + filepath.Join(testenv.GOROOT(t), "src", "runtime"),
    		"-ex", "set startup-with-shell off",
    		"-ex", "break setg_gcc",
    		"-ex", "run",
    		"-ex", "backtrace 3",
    		"-ex", "disable 1",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top