- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for r30 (0.02 sec)
-
src/runtime/tls_loong64.s
#include "go_asm.h" #include "go_tls.h" #include "funcdata.h" #include "textflag.h" // If !iscgo, this is a no-op. // // NOTE: mcall() assumes this clobbers only R30 (REGTMP). TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0 MOVB runtime·iscgo(SB), R30 BEQ R30, nocgo MOVV g, runtime·tls_g(SB) nocgo: RET TEXT runtime·load_g(SB),NOSPLIT|NOFRAME,$0-0 MOVV runtime·tls_g(SB), g RET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 17 20:18:25 UTC 2022 - 589 bytes - Viewed (0) -
src/runtime/libfuzzer_arm64.s
// address. ADR ret_sled, R30 // Clear the lowest 2 bits of fakePC. All ARM64 instructions are four // bytes long, so we cannot get better return address granularity than // multiples of 4. AND $-4, R8, R8 // Add the offset of the fake_pc-th ret. ADD R8, R30, R30 // Call the function by jumping to it and reusing all registers except // for the modified return address register R30. JMP (R9)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 07 14:47:46 UTC 2022 - 3.2K bytes - Viewed (0) -
src/runtime/tls_ppc64x.s
#include "go_asm.h" #include "go_tls.h" #include "funcdata.h" #include "textflag.h" // We have to resort to TLS variable to save g (R30). // One reason is that external code might trigger // SIGSEGV, and our runtime.sigtramp don't even know we // are in external code, and will continue to use R30, // this might well result in another SIGSEGV. // save_g saves the g register into pthread-provided
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 02:48:11 UTC 2023 - 1.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_ppc64_linker_funcs.txt
package main /* #cgo CFLAGS: -Os int foo_fpr() { asm volatile("":::"fr31","fr30","fr29","fr28"); } int foo_gpr0() { asm volatile("":::"r30","r29","r28"); } int foo_gpr1() { asm volatile("":::"fr31", "fr30","fr29","fr28","r30","r29","r28"); } int foo_vr() { asm volatile("":::"v31","v30","v29","v28"); } */ import "C" import "fmt" func main() { C.foo_fpr()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:54:08 UTC 2024 - 1K bytes - Viewed (0) -
src/runtime/cgo/asm_arm64.s
STP (R0, R1), (8*1)(RSP) MOVD R3, (8*3)(RSP) SAVE_R19_TO_R28(8*4) SAVE_F8_TO_F15(8*14) STP (R29, R30), (8*22)(RSP) // Initialize Go ABI environment BL runtime·load_g(SB) BL runtime·cgocallback(SB) RESTORE_R19_TO_R28(8*4) RESTORE_F8_TO_F15(8*14) LDP (8*22)(RSP), (R29, R30) ADD $(8*24), RSP
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 00:43:51 UTC 2023 - 1.4K bytes - Viewed (0) -
src/runtime/preempt_arm64.s
// Code generated by mkpreempt.go; DO NOT EDIT. #include "go_asm.h" #include "textflag.h" TEXT ·asyncPreempt(SB),NOSPLIT|NOFRAME,$0-0 MOVD R30, -496(RSP) SUB $496, RSP MOVD R29, -8(RSP) SUB $8, RSP, R29 #ifdef GOOS_ios MOVD R30, (RSP) #endif STP (R0, R1), 8(RSP) STP (R2, R3), 24(RSP) STP (R4, R5), 40(RSP) STP (R6, R7), 56(RSP) STP (R8, R9), 72(RSP) STP (R10, R11), 88(RSP) STP (R12, R13), 104(RSP)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 03 01:58:56 UTC 2022 - 2K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue9400/asm_arm64.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|NOFRAME,$0-0 // Save link register 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
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 760 bytes - Viewed (0) -
src/runtime/cgo/gcc_loong64.S
* Called from standard lp64d ABI, where $r1, $r3, $r23-$r30, and $f24-$f31 * are callee-save, so they must be saved explicitly, along with $r1 (LR). */ .globl crosscall1 crosscall1: addi.d $r3, $r3, -160 st.d $r1, $r3, 0 st.d $r23, $r3, 8 st.d $r24, $r3, 16 st.d $r25, $r3, 24 st.d $r26, $r3, 32 st.d $r27, $r3, 40 st.d $r28, $r3, 48 st.d $r29, $r3, 56 st.d $r30, $r3, 64 st.d $r2, $r3, 72 st.d $r22, $r3, 80
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 05 18:57:04 UTC 2022 - 1.5K bytes - Viewed (0) -
src/runtime/cgo/abi_loong64.h
MOVV R24, ((offset)+(2*8))(R3) \ MOVV R25, ((offset)+(3*8))(R3) \ MOVV R26, ((offset)+(4*8))(R3) \ MOVV R27, ((offset)+(5*8))(R3) \ MOVV R28, ((offset)+(6*8))(R3) \ MOVV R29, ((offset)+(7*8))(R3) \ MOVV R30, ((offset)+(8*8))(R3) \ MOVV R31, ((offset)+(9*8))(R3) #define SAVE_F24_TO_F31(offset) \ MOVD F24, ((offset)+(0*8))(R3) \ MOVD F25, ((offset)+(1*8))(R3) \ MOVD F26, ((offset)+(2*8))(R3) \
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 29 02:34:18 UTC 2023 - 1.9K bytes - Viewed (0) -
src/runtime/cgo/gcc_linux_ppc64x.S
stdu %r1, -FRAME_SIZE(%r1) std %r2, 24(%r1) FOR_EACH_GPR std FOR_EACH_FPR stfd FOR_EACH_VR stvx // Set up Go ABI constant registers li %r0, 0 // Restore g pointer (r30 in Go ABI, which may have been clobbered by C) mr %r30, %r4 // Call fn mr %r12, %r3 mtctr %r3 bctrl FOR_EACH_GPR ld FOR_EACH_FPR lfd FOR_EACH_VR lvx ld %r2, 24(%r1) addi %r1, %r1, FRAME_SIZE ld %r0, 16(%r1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 04 18:03:04 UTC 2023 - 2K bytes - Viewed (0)