mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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 <chenguoqi@loongson.cn> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Mark Freeman <mark@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com>
This commit is contained in:
parent
d44749b65b
commit
abeeef1c08
1 changed files with 2 additions and 2 deletions
|
|
@ -143,7 +143,7 @@ func BenchmarkMulconstI32(b *testing.B) {
|
|||
}
|
||||
mulSinkI32 = x
|
||||
})
|
||||
// -120x = 8x - 120x
|
||||
// -120x = 8x - 128x
|
||||
b.Run("-120", func(b *testing.B) {
|
||||
x := int32(1)
|
||||
for i := 0; i < b.N; i++ {
|
||||
|
|
@ -202,7 +202,7 @@ func BenchmarkMulconstI64(b *testing.B) {
|
|||
}
|
||||
mulSinkI64 = x
|
||||
})
|
||||
// -120x = 8x - 120x
|
||||
// -120x = 8x - 128x
|
||||
b.Run("-120", func(b *testing.B) {
|
||||
x := int64(1)
|
||||
for i := 0; i < b.N; i++ {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue