tacle / tacle-bench

TACLe Benchmarks
39 stars 38 forks source link

kernel/bitcount now works for both endians #34

Closed Emoun closed 2 years ago

Emoun commented 2 years ago

Fixes #12

The solution uses default GCC/Clang macros so should be portable. I ran it both using patmos-clang and gcc and it returned a 0 exit code when executed in both cases (previously, patmos-clang would result in an exit code of 1)

Solution inpired by @flopsi's patch in #12.