ray@lemmy.ml to Open Source@lemmy.mlEnglish · 1 year agoFFmpeg's costly functions are all written in hand optimised assemblytwitter.comexternal-linkmessage-square30fedilinkarrow-up1245arrow-down13
arrow-up1242arrow-down1external-linkFFmpeg's costly functions are all written in hand optimised assemblytwitter.comray@lemmy.ml to Open Source@lemmy.mlEnglish · 1 year agomessage-square30fedilink
minus-squarejayrhacker@kbin.sociallinkfedilinkarrow-up10·1 year agoTypically inline assembly is written in an #IFDEF block with a C/C++ alternative provided. Since the assembly is machine specific the devs need to write it for all the processor families they want to optimize for.
Typically inline assembly is written in an #IFDEF block with a C/C++ alternative provided. Since the assembly is machine specific the devs need to write it for all the processor families they want to optimize for.