Update benchmarks

This commit is contained in:
Minseong Jang
2025-06-13 15:19:21 +09:00
parent 49410f5264
commit 1aa18bce30
11 changed files with 201 additions and 193 deletions

View File

@@ -26,6 +26,9 @@ int multiply(int x, int y) {
int result = 0;
for (i = 0; i < 32; i++) {
if (x == 0)
break;
if ((x & 0x1) == 1)
result = result + y;
@@ -47,7 +50,7 @@ int verify_multiply(int n, int* test) {
if (t0 * t1 != v)
return 1;
result += v;
result ^= v;
}
return result;