News for hackers. Stuff that matters.
Re:X86 Register Encoding by eloff on Tuesday November 01, 2016 @03:48PM (#12849454)
The kernel is compiled with -Os for code size last I checked (which was long ago) so that might explain the difference.
Re:X86 Register Encoding by a-priori on Tuesday November 01, 2016 @04:35PM (#12849796)
It's been about ten years since I did any kernel work, but last I checked Linux doesn't use most of the fancy features of the CPU to avoid trashing more registers than necessary. If you know you don't do any floating point operations, for example, you know you don't need to save/restore the floating point registers on interrupts. The same might go for things like SSE.

Those instructions tend to be larger, so it may partly explain the difference in average instruction size. The same explanation would apply to why the Radeon driver has a higher average.

Re:X86 Register Encoding by flamedoge on Wednesday November 02, 2016 @04:21AM (#12853015)
I wonder if that flag does anything at the instruction encoding level