]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile/internal/ssa: fix typo in LOONG64Ops.go comment
authorXiaolin Zhao <zhaoxiaolin@loongson.cn>
Wed, 6 Aug 2025 02:31:59 +0000 (10:31 +0800)
committerabner chenc <chenguoqi@loongson.cn>
Fri, 8 Aug 2025 02:04:29 +0000 (19:04 -0700)
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>
src/cmd/compile/internal/ssa/_gen/LOONG64Ops.go

index 0e204c4a3c44762354e44b98f856a34a41cac62f..9ba5d965760adda6fca1c8fec4fec6cc7d95e8df 100644 (file)
@@ -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