Re:Genann – Simple neural network library in ANSI C
by WoodenChair on Friday July 06, 2018 @03:18AM
(#17469589)
Sure, if the compiler can find optimizations by inserting vector instructions, it will. But, typically you'll want to specifically format your code using matrices/a library like BLAS to maximize performance and use as many vector instructions as possible.
IIRC GCC has -mmx, -sse(2|3|4) options to enable this kind of instructions.