commit | 7401cce31392295f531e1d0fcc2f01d782353300 | [log] [tgz] |
---|---|---|
author | Guoqi Chen <chenguoqi@loongson.cn> | Wed Mar 12 10:18:00 2025 +0800 |
committer | abner chenc <chenguoqi@loongson.cn> | Wed Mar 12 17:52:00 2025 -0700 |
tree | c50cef6761d2cb739a14084dec3e97c6e1aebed6 | |
parent | b8f7da6c5a244c4015da1e739f7f40b21f4c40c8 [diff] |
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 <limeidan@loongson.cn> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Junyang Shao <shaojunyang@google.com>
This repository holds supplemental Go packages for low-level interactions with the operating system.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/sys.
The main issue tracker for the sys repository is located at https://go.dev/issues. Prefix your issue with “x/sys:” in the subject line, so it is easy to find.