collapse's blog

By collapse, history, 4 years ago, In English

Does anyone know why __int128 seems to use 64-bit operations instead of SIMD instructions?

In this demo, 64-bit instructions are used but switching __int128 with any smaller type (int, long long, etc.) enables vectorization + unrolling.

Is using 64-bit operations just faster than loading into/out of the 128-bit registers?

  • Vote: I like it
  • +11
  • Vote: I do not like it

»
4 years ago, # |
  Vote: I like it +7 Vote: I do not like it

There is no SIMD instruction for 128-bit addition.