github.com/xg0n/routine@v0.0.0-20240119033701-c364deb94aee/g/asm_ppc64x.s (about) 1 // Copyright 2021-2024 TimAndy. All rights reserved. 2 // Licensed under the Apache-2.0 license that can be found in the LICENSE file. 3 4 //go:build ppc64 || ppc64le 5 // +build ppc64 ppc64le 6 7 #include "funcdata.h" 8 #include "go_asm.h" 9 #include "textflag.h" 10 11 TEXT ·getgp(SB), NOSPLIT, $0-8 12 MOVD g, R8 13 MOVD R8, ret+0(FP) 14 RET