summaryrefslogtreecommitdiffstats
path: root/src/internal/abi/abi_ppc64x.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/abi/abi_ppc64x.go')
-rw-r--r--src/internal/abi/abi_ppc64x.go19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/internal/abi/abi_ppc64x.go b/src/internal/abi/abi_ppc64x.go
new file mode 100644
index 0000000..73416d7
--- /dev/null
+++ b/src/internal/abi/abi_ppc64x.go
@@ -0,0 +1,19 @@
+// Copyright 2021 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 ppc64 || ppc64le
+
+package abi
+
+const (
+ // See abi_generic.go.
+
+ // R3 - R10, R14 - R17.
+ IntArgRegs = 12
+
+ // F1 - F12.
+ FloatArgRegs = 12
+
+ EffectiveFloatRegSize = 8
+)