linux-kernel; inlines

Jan 02, 2006 21:37

I'm addicted to reading the linux-kernel list. There's a big thread going on about changing the meaning of "inline" in the kernel tree to mean "if gcc4 wants to" instead of the historical "always-inline!" that was required due to gcc3 quirks. Then introducing a new "__always_inline" to actually mean __attribute__((always_inline)), for the few ( Read more... )

tech, linux

Leave a comment

Comments 17

wolf550e January 3 2006, 19:00:30 UTC
I agree, compilers are almost always better at optimization than programmers, especially with code that gets compiled on so many different architectures, but I wanted to point out that the argument that modern processors are so smart is not going to be correct for too long - newer architectures sacrifice a lot of out-of-order optimization logic (like scheduling and branch prediction) to cram more (simpler) execution cores into a target silicon size.

Reply


Leave a comment

Up