Commit 7401cce
committed
cpu: replace specific instructions with WORD in the function get_cpucfg on loong64
The CPUCFG instruction on loong64 was introduced in Go1.24, which caused
compilation errors when using this feature in Go1.23 and earlier versions.
Change-Id: I68891bbfc527194ecdafebac3398e700bfb53c2f
Reviewed-on: https://go-review.googlesource.com/c/sys/+/656915
Reviewed-by: Meidan Li <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: David Chase <[email protected]>
Reviewed-by: Junyang Shao <[email protected]>1 parent b8f7da6 commit 7401cce
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
0 commit comments