src/internal/abi/abi_s390x.go
raw| 1 | // Copyright 2025 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 goexperiment.regabiargs |
| 6 | |
| 7 | package abi |
| 8 | |
| 9 | const ( |
| 10 | // See abi_generic.go. |
| 11 | |
| 12 | // R2 - R9. |
| 13 | IntArgRegs = 8 |
| 14 | |
| 15 | // F0 - F15 |
| 16 | FloatArgRegs = 16 |
| 17 | |
| 18 | EffectiveFloatRegSize = 8 |
| 19 | ) |