aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXiaolin Zhao <zhaoxiaolin@loongson.cn>2025-08-06 10:31:59 +0800
committerabner chenc <chenguoqi@loongson.cn>2025-08-07 19:04:29 -0700
commitf3606b0825c20e3f3ccdae00bb8d5d7d8dfd745e (patch)
treecc666cd4dff1df4170bc26887e29c3eefae5b9cd /src
parentee7bb8969a62b12f466f818e4e3d836a2e126940 (diff)
downloadgo-f3606b0825c20e3f3ccdae00bb8d5d7d8dfd745e.tar.xz
cmd/compile/internal/ssa: fix typo in LOONG64Ops.go comment
Change-Id: I680bae7fc1a26c1f249ab833fa8d41e9387b2d50 Reviewed-on: https://go-review.googlesource.com/c/go/+/693456 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Mark Freeman <markfreeman@google.com> Reviewed-by: abner chenc <chenguoqi@loongson.cn>
Diffstat (limited to 'src')
-rw-r--r--src/cmd/compile/internal/ssa/_gen/LOONG64Ops.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/ssa/_gen/LOONG64Ops.go b/src/cmd/compile/internal/ssa/_gen/LOONG64Ops.go
index 0e204c4a3c..9ba5d96576 100644
--- a/src/cmd/compile/internal/ssa/_gen/LOONG64Ops.go
+++ b/src/cmd/compile/internal/ssa/_gen/LOONG64Ops.go
@@ -589,7 +589,7 @@ func init() {
{name: "FPT", controls: 1}, // FP flag is true
{name: "FPF", controls: 1}, // FP flag is false
{name: "BEQ", controls: 2}, // controls[0] == controls[1]
- {name: "BNE", controls: 2}, // controls[0] == controls[1]
+ {name: "BNE", controls: 2}, // controls[0] != controls[1]
{name: "BGE", controls: 2}, // controls[0] >= controls[1]
{name: "BLT", controls: 2}, // controls[0] < controls[1]
{name: "BGEU", controls: 2}, // controls[0] >= controls[1], unsigned