Skip to content

Commit 8a45e6c

Browse files
abner-chenctimothy-king
authored andcommitted
go/analysis/passes/asmdecl: define register-ABI result registers for loong64
Fixes golang/go#68041 Change-Id: I04f4f0305e2b15a6fb89809a60a6d62c7176b2a9 Reviewed-on: https://go-review.googlesource.com/c/tools/+/593275 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Cherry Mui <[email protected]> Reviewed-by: Tim King <[email protected]> Reviewed-by: Alan Donovan <[email protected]>
1 parent dfdfa49 commit 8a45e6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/analysis/passes/asmdecl/asmdecl.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ var (
9696
asmArchRISCV64 = asmArch{name: "riscv64", bigEndian: false, stack: "SP", lr: true, retRegs: []string{"X10", "F10"}}
9797
asmArchS390X = asmArch{name: "s390x", bigEndian: true, stack: "R15", lr: true}
9898
asmArchWasm = asmArch{name: "wasm", bigEndian: false, stack: "SP", lr: false}
99-
asmArchLoong64 = asmArch{name: "loong64", bigEndian: false, stack: "R3", lr: true}
99+
asmArchLoong64 = asmArch{name: "loong64", bigEndian: false, stack: "R3", lr: true, retRegs: []string{"R4", "F0"}}
100100

101101
arches = []*asmArch{
102102
&asmArch386,

0 commit comments

Comments
 (0)