by jamesaguilar · 13y ago · 0 comments
Note: I'm not trying to question your engineering chops, just trying to correct my own misconceptions.
I'm not an SIMD expert, but it seems like this implements similar primitives to those that are available to assembly (and not C). My question is basically whether the algorithms you're talking about could be implemented with these primitives. Although I guess no such library yet exists for AVX2.
In return, you are stuck with an extremely ugly syntax and a much less functional preprocessor, with the added bonus of a compiler that mangles your code.
Do any production compilers schedule instructions to maximize superscalar performance?
Those are not C code, rather inline assembly or compiler intrisics, nothing of which has anything to do with C.