icicle-lang / anemone-ambiata

Sea creatures: a collection of C functions, packaged as a Haskell library, with QuickCheck for testing.
BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

Benchmark: atoi SSE is worst case #35

Open amosr opened 8 years ago

amosr commented 8 years ago

We're only testing the 'leftover' case where we can't do a full mm128 load. It is also worth testing the good case, probably just by padding spaces at the end of the input string.

amosr commented 8 years ago

and implement a case which calls unvectorised if input < 16 and vectorised otherwise, or whatever the sweet spot is