top | item 39825930 (no title) WASDx | 1 year ago What is the gist of the algorithm? I'm not proficient at reading Go. Is it perhaps doing https://en.wikipedia.org/wiki/SWAR which is indeed SIMD? discuss order hn newest danbruc|1 year ago A description of the algorithm is here [1] and it is indeed SWAR.[1] https://github.com/sugawarayuuta/charcoal/blob/main/docs/ind... syrak|1 year ago This post is rendered at https://sugawarayuuta.github.io/charcoal/ kevincox|1 year ago Yes. The algorithm is very much using SIMD in the abstract sense but it isn't using SIMD instructions.It is basically using 64 bit integer operations to check 8 bytes at a time.
danbruc|1 year ago A description of the algorithm is here [1] and it is indeed SWAR.[1] https://github.com/sugawarayuuta/charcoal/blob/main/docs/ind... syrak|1 year ago This post is rendered at https://sugawarayuuta.github.io/charcoal/
kevincox|1 year ago Yes. The algorithm is very much using SIMD in the abstract sense but it isn't using SIMD instructions.It is basically using 64 bit integer operations to check 8 bytes at a time.
danbruc|1 year ago
[1] https://github.com/sugawarayuuta/charcoal/blob/main/docs/ind...
syrak|1 year ago
kevincox|1 year ago
It is basically using 64 bit integer operations to check 8 bytes at a time.