src/internal/abi/abi_riscv64.go
raw| 1 | // Copyright 2022 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 | package abi |
| 6 | |
| 7 | const ( |
| 8 | // See abi_generic.go. |
| 9 | |
| 10 | // X8 - X23 |
| 11 | IntArgRegs = 16 |
| 12 | |
| 13 | // F8 - F23. |
| 14 | FloatArgRegs = 16 |
| 15 | |
| 16 | EffectiveFloatRegSize = 8 |
| 17 | ) |