src/internal/abi/abi_ppc64x.go
raw| 1 | // Copyright 2021 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 ppc64 || ppc64le |
| 6 | |
| 7 | package abi |
| 8 | |
| 9 | const ( |
| 10 | // See abi_generic.go. |
| 11 | |
| 12 | // R3 - R10, R14 - R17. |
| 13 | IntArgRegs = 12 |
| 14 | |
| 15 | // F1 - F12. |
| 16 | FloatArgRegs = 12 |
| 17 | |
| 18 | EffectiveFloatRegSize = 8 |
| 19 | ) |