←back to thread

138 points shipp02 | 1 comments | | HN request time: 0s | source
Show context
HALtheWise ◴[] No.40649046[source]
For a SIMD architecture that supports scatter/gather and instruction masking (like Arm SVE), could a compiler or language allow you to write "Scalar-style code" that compiles to SIMD instructions? I guess this is just auto-vectorization, but I'd be interested in explicit tagging of code regions, possibly in combination with restrictions on what operations are allowed.
replies(2): >>40649285 #>>40649472 #
1. yosefk ◴[] No.40649285[source]
Check out ispc/spmd by Matt Pharr, a very interesting take on this subject