summaryrefslogtreecommitdiffstats
path: root/src/internal/goarch/goarch_loong64.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/goarch/goarch_loong64.go')
-rw-r--r--src/internal/goarch/goarch_loong64.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/internal/goarch/goarch_loong64.go b/src/internal/goarch/goarch_loong64.go
new file mode 100644
index 0000000..dae1f4d
--- /dev/null
+++ b/src/internal/goarch/goarch_loong64.go
@@ -0,0 +1,15 @@
+// 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 loong64
+
+package goarch
+
+const (
+ _ArchFamily = LOONG64
+ _DefaultPhysPageSize = 16384
+ _PCQuantum = 4
+ _MinFrameSize = 8
+ _StackAlign = PtrSize
+)