3 ms·
x264? FFmpeg (at least the newer parts)? It is mostly SIMD and suitably abstracted so it runs on x86, win64 and *nix64 but that doesn't mean it can't teach yo
by J_Darnley 13y ago
x264? FFmpeg (at least the newer parts)? It is mostly SIMD and suitably abstracted so it runs on x86, win64 and *nix64 but that doesn't mean it can't teach you things. It is what got me interested.
I would say that SIMD is the biggest reason to dip into assembly and for many situations, the only one.
Anyway, you can see how these projects format the source. The general rule is: align instrcutions, and align first, second, and third operands (within reason). Indent loops (like any other language)