(no title)
uyt | 4 years ago
I've never messed with calling convention for the sake of performance before so I found this bit interesting. I found more info about it at: https://en.wikipedia.org/wiki/X86_calling_conventions#Borlan...
Does anyone have benchmarks? Assuming I don't care about ABI stability, what's the fastest calling convention?
krona|4 years ago
I'd assume a modern optimizing compiler will, in situations where it's permitted, create completely novel calling conventions depending on the situation. Whole program optimization is one area you might see this.
rocqua|4 years ago
Whole program optimization gives the compiler some ways around that. I am not sure how much freedom it gives the compiler.