2 ms·
> That enables the M1 chip to be faster in this case when developers use these instructions in their applications. Or more typically the compiler will emit tho
by giantrobot 6y ago
> That enables the M1 chip to be faster in this case when developers use these instructions in their applications.
Or more typically the compiler will emit those instructions and everyone gets them for free.
- teknopaul 6y agoonly if the compiler knows they exist
- a1369209993 6y agoThat's actually generally not true WRT SIMD/vector instructions (see eg http://yosefk.com/blog/humans-and-compilers-need-each-other-the-vliw-simd-case.html http://yosefk.com/blog/humans-and-compilers-need-each-other-... which contrasts this with the more compiler-friendly VLIW case); they impose nontrivial requirements on data structures and ABI, so the application code needs to at least be aware of the possibility of vectorization, even if it's agnostic to whether the implementation actually uses it.