aboutsummaryrefslogtreecommitdiff
path: root/go/analysis/passes/asmdecl/arches_go119.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/analysis/passes/asmdecl/arches_go119.go')
-rw-r--r--go/analysis/passes/asmdecl/arches_go119.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/go/analysis/passes/asmdecl/arches_go119.go b/go/analysis/passes/asmdecl/arches_go119.go
new file mode 100644
index 000000000..3018383e7
--- /dev/null
+++ b/go/analysis/passes/asmdecl/arches_go119.go
@@ -0,0 +1,14 @@
+// Copyright 2022 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+//go:build go1.19
+// +build go1.19
+
+package asmdecl
+
+var asmArchLoong64 = asmArch{name: "loong64", bigEndian: false, stack: "R3", lr: true}
+
+func additionalArches() []*asmArch {
+ return []*asmArch{&asmArchLoong64}
+}