Skip to content

Commit

Permalink
Merge pull request #1 from dtolpin/arm64
Browse files Browse the repository at this point in the history
Arm64
  • Loading branch information
taowen committed Mar 30, 2019
2 parents 18e3a66 + 7faa9ab commit 8d32499
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions goid_arm64.s
@@ -0,0 +1,11 @@
// Copyright 2016 Huan Du. All rights reserved.
// Use of this source code is governed by a MIT
// license that can be found in the LICENSE file.

#include "go_asm.h"
#include "textflag.h"

TEXT ·getg(SB), NOSPLIT, $0-8
MOVD g, R8
MOVD R8, ret+0(FP)
RET

0 comments on commit 8d32499

Please sign in to comment.