ray@lemmy.ml to Open Source@lemmy.mlEnglish · 1 year agoFFmpeg's costly functions are all written in hand optimised assemblytwitter.comexternal-linkmessage-square30fedilinkarrow-up1249arrow-down13
arrow-up1246arrow-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.