Skip to content

Commit abeeef1

Browse files
sophie-zhaoabner-chenc
authored andcommitted
cmd/compile/internal/test: fix typo in comments
Change-Id: Iba6bb7f8252120f56d7e6ae49c9edc9382e8c7e0 Reviewed-on: https://go-review.googlesource.com/c/go/+/679855 Reviewed-by: abner chenc <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Mark Freeman <[email protected]> Reviewed-by: Michael Knyszek <[email protected]>
1 parent d44749b commit abeeef1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cmd/compile/internal/test/mulconst_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ func BenchmarkMulconstI32(b *testing.B) {
143143
}
144144
mulSinkI32 = x
145145
})
146-
// -120x = 8x - 120x
146+
// -120x = 8x - 128x
147147
b.Run("-120", func(b *testing.B) {
148148
x := int32(1)
149149
for i := 0; i < b.N; i++ {
@@ -202,7 +202,7 @@ func BenchmarkMulconstI64(b *testing.B) {
202202
}
203203
mulSinkI64 = x
204204
})
205-
// -120x = 8x - 120x
205+
// -120x = 8x - 128x
206206
b.Run("-120", func(b *testing.B) {
207207
x := int64(1)
208208
for i := 0; i < b.N; i++ {

0 commit comments

Comments
 (0)