aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/sys/cpu/cpu_arm64.s
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/sys/cpu/cpu_arm64.s')
-rw-r--r--vendor/golang.org/x/sys/cpu/cpu_arm64.s31
1 files changed, 0 insertions, 31 deletions
diff --git a/vendor/golang.org/x/sys/cpu/cpu_arm64.s b/vendor/golang.org/x/sys/cpu/cpu_arm64.s
deleted file mode 100644
index fcb9a38..0000000
--- a/vendor/golang.org/x/sys/cpu/cpu_arm64.s
+++ /dev/null
@@ -1,31 +0,0 @@
1// Copyright 2019 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5//go:build gc
6
7#include "textflag.h"
8
9// func getisar0() uint64
10TEXT ·getisar0(SB),NOSPLIT,$0-8
11 // get Instruction Set Attributes 0 into x0
12 // mrs x0, ID_AA64ISAR0_EL1 = d5380600
13 WORD $0xd5380600
14 MOVD R0, ret+0(FP)
15 RET
16
17// func getisar1() uint64
18TEXT ·getisar1(SB),NOSPLIT,$0-8
19 // get Instruction Set Attributes 1 into x0
20 // mrs x0, ID_AA64ISAR1_EL1 = d5380620
21 WORD $0xd5380620
22 MOVD R0, ret+0(FP)
23 RET
24
25// func getpfr0() uint64
26TEXT ·getpfr0(SB),NOSPLIT,$0-8
27 // get Processor Feature Register 0 into x0
28 // mrs x0, ID_AA64PFR0_EL1 = d5380400
29 WORD $0xd5380400
30 MOVD R0, ret+0(FP)
31 RET