Re:Dav2d
by IshKebab on Sunday May 31, 2026 @12:29PM
(#48347046)
The normal C calling convention is really only for cross-binary calls (e.g. between shared libraries). If you're not doing that you can ignore it; it's not a weird thing to do. It would be odd to strictly follow it in assembly and I assume compilers don't either.
[ Parent
| on HN ]
Re:Dav2d
by adgjlsfhk1 on Sunday May 31, 2026 @07:58PM
(#48351075)
Unfortunately, in absence of inlining, compilers mostly respect calling convention even when they don't have to.