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 | // +build riscv64 |
6 | |
7 | // writing to result in ABIInternal function |
8 | TEXT ·returnABIInternal<ABIInternal>(SB), NOSPLIT, $8 |
9 | MOV $123, X10 |
10 | RET |
11 | TEXT ·returnmissingABIInternal<ABIInternal>(SB), NOSPLIT, $8 |
12 | MOV $123, X20 |
13 | RET // want `RET without writing to result register` |
14 |
Members