diff --git a/asm_ppc64.s b/asm_ppc64.s new file mode 100644 index 0000000..6291d30 --- /dev/null +++ b/asm_ppc64.s @@ -0,0 +1,7 @@ +#include "textflag.h" +#include "go_asm.h" + +TEXT ·GetG(SB), NOSPLIT, $0-8 + MOVD g, R8 + MOVD R8, ret+0(FP) + RET diff --git a/asm_s390x.s b/asm_s390x.s new file mode 100644 index 0000000..6291d30 --- /dev/null +++ b/asm_s390x.s @@ -0,0 +1,7 @@ +#include "textflag.h" +#include "go_asm.h" + +TEXT ·GetG(SB), NOSPLIT, $0-8 + MOVD g, R8 + MOVD R8, ret+0(FP) + RET