Commit 1ae54b5
authored
Benchmark unsigned 64-bit multiplication (#9211)
Adds a `mul_u64_nonnull` case to `binary_ops`. The suite covers `Mul` at
every signed width and at `u8`, `u16` and `u32`, but not at `u64`, which
takes a different overflow check because it has no wider native type to
widen into.
This lands separately so that CodSpeed records a baseline on `develop`
before #9210 changes that check. Measured on that PR, the width gains
1.8x, which no existing benchmark would have caught.
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>1 parent 26465e7 commit 1ae54b5
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
137 | 145 | | |
138 | 146 | | |
139 | 147 | | |
| |||
286 | 294 | | |
287 | 295 | | |
288 | 296 | | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
289 | 301 | | |
290 | 302 | | |
291 | 303 | | |
| |||
0 commit comments