AKTIVE

Timeline
Login

Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

7 check-ins related to "highway-simd-experiment"

2025-12-02
17:04
separating the scalar and simd-based loops from each other, i.e. use
iteration over vector length as inner loop instead of outer has not
changed the result in a material way. we now only know that it is the
scalar loops mostly driving the cpu temperature, not the simd-loops.

with this the simd experiment is closed.

in the following I will work on unrolling more core loops as means of
gaining performance.
leaf check-in: d9994631e7 user: aku tags: highway-simd-experiment

12:25

benchmarked unrolled simd-loops to see if that gains us performance.

result: no, it does not. each level of unrolling is has actually worse
performance. I.e. 4-unrolled is slower than 2-unrolled, is slower than
no unrolling at all.

strongly suspecting that the simd loops encounter thermal throttling
and more unrolling ==> more use of the vector unit ==> higher temps,
more throttling, eating up any performance gains we may have had.

and some behaviour of the scalar loops may indicate that even they get
throttled, likely because vector length is the outer loop,
interleaving the scalar and simd loops.
check-in: 39b2e0f85e user: aku tags: highway-simd-experiment

2025-12-01
14:23
fix: missed two, remove references to ops which were not compared.
check-in: 2a9b817a3a user: aku tags: highway-simd-experiment
14:19
fix: remove references to ops which were not compared.
check-in: 0444d7616c user: aku tags: highway-simd-experiment
14:08
benchmarking the new simd code, and comparing against the 4-unrolled
super-scalar code the results heavily favor the latter, except for
some ops and very large vectors.

as noted in the associated README, this is likely because we have only
2 lanes for simd double ops, making it equivalent to 2-unrolled
super-scalar code at best.
check-in: 9dfb3154ab user: aku tags: highway-simd-experiment

14:03
fixed all the issues in the pre-existing unused theoretical highway
code (templates, generator, etc).

with the fixes in place, and activated highway code is generated
properly, compiles ok, links ok, loads properly, and returns correct
results.

disabled the vector.bench(mark) file, and corrected a typo in the
chart defs.
check-in: 55730fb71e user: aku tags: highway-simd-experiment

2025-11-28
17:48
chore: put the benchmarks results for loop-unrolling of the vector math into the permanent record.
note: even the readme is generated.
check-in: 4c6a79be86 user: aku tags: trunk