github.com/Rookout/GoSDK@v0.1.48/pkg/services/assembler/common/g_arm64.go (about) 1 //go:build arm64 2 // +build arm64 3 4 package common 5 6 import ( 7 "github.com/Rookout/GoSDK/pkg/rookoutErrors" 8 "github.com/Rookout/GoSDK/pkg/services/assembler" 9 "golang.org/x/arch/arm64/arm64asm" 10 ) 11 12 var InitError rookoutErrors.RookoutError 13 var g = arm64asm.X28 14 15 func MovGToX20(b *assembler.Builder) *assembler.Instruction { 16 return b.Inst(assembler.AMOVD, arm64asm.X20, g) 17 }