Skip to content

Commit 7b26cb9

Browse files
abner-chencsophie-zhao
authored andcommitted
internal/abi: define loong64 regABI constants
Update #40724 Co-authored-by: Xiaolin Zhao <[email protected]> Change-Id: Id580d9e22a562adee2ae02a467ac38a54949e737 Reviewed-on: https://go-review.googlesource.com/c/go/+/521778 Reviewed-by: David Chase <[email protected]> Auto-Submit: David Chase <[email protected]> Reviewed-by: Meidan Li <[email protected]> Reviewed-by: Cherry Mui <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: David Chase <[email protected]>
1 parent 070139a commit 7b26cb9

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/internal/abi/abi_loong64.go

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// Copyright 2023 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+
// R4 - R19
13+
IntArgRegs = 16
14+
15+
// F0 - F15
16+
FloatArgRegs = 16
17+
18+
EffectiveFloatRegSize = 8
19+
)

0 commit comments

Comments
 (0)