Skip to content

Commit

Permalink
add support for ppc64 and s390x cpu architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
alphadose committed Nov 14, 2022
1 parent a6352fb commit b6847db
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions asm_ppc64.s
Original file line number Diff line number Diff line change
@@ -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
7 changes: 7 additions & 0 deletions asm_s390x.s
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b6847db

Please sign in to comment.