x86 measurements

This commit is contained in:
[Quy Anh] «Elliot» Nguyen
2026-05-30 21:26:19 +02:00
committed by Linus Baumberger
parent c16a67a1f8
commit 3aa84d6b8f
90 changed files with 3657 additions and 2561 deletions
-41
View File
@@ -1,41 +0,0 @@
rm -f main_* sizes run_tests *.o *.s
/usr/bin/g++ -O3 -march=native -std=c++23 -Wall -Wextra -flto -DFLOPCOUNT=0 -DRANDOM_SEED=0 -DROOFLINE=0 -DBENCHMARK=1 main.cpp ./variants/variant_branchless.cpp -o main_branchless
=== N_P=50 N_ITER=1000 ===
W(n) per iteration: 184500.00 flops
Q(n) per iteration: 6512 bytes
I(n): 28.33 flops/byte
W(n): 184500000.00 flops
T(n): 163598600.00 cycles
P(n): 1.13 flops/cycle
=== N_P=100 N_ITER=1000 ===
W(n) per iteration: 729000.00 flops
Q(n) per iteration: 12912 bytes
I(n): 56.46 flops/byte
W(n): 729000000.00 flops
T(n): 672653360.00 cycles
P(n): 1.08 flops/cycle
=== N_P=200 N_ITER=1000 ===
W(n) per iteration: 2898000.00 flops
Q(n) per iteration: 25712 bytes
I(n): 112.71 flops/byte
W(n): 2898000000.00 flops
T(n): 2815032380.00 cycles
P(n): 1.03 flops/cycle
=== N_P=500 N_ITER=1000 ===
W(n) per iteration: 18045000.00 flops
Q(n) per iteration: 64112 bytes
I(n): 281.46 flops/byte
W(n): 18045000000.00 flops
T(n): 18559971420.00 cycles
P(n): 0.97 flops/cycle
=== N_P=1000 N_ITER=1000 ===
W(n) per iteration: 72090000.00 flops
Q(n) per iteration: 128112 bytes
I(n): 562.71 flops/byte
W(n): 72090000000.00 flops
T(n): 72285399260.00 cycles
P(n): 1.00 flops/cycle