lkml.org 
[lkml]   [2015]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] x86: Align jump targets to 1 byte boundaries
    On 04/10/2015 05:50 AM, Denys Vlasenko wrote:
    >
    > However, I'm an -Os guy. Expect -O2 people to disagree :)
    >

    The problem with -Os is that the compiler will make *any* tradeoffs to
    save a byte. It is really designed to squeeze as much code into a
    fixed-size chunk, e.g. a ROM, as possible.

    We have asked for an -Okernel mode from the gcc folks forever. It
    basically would mean "-Os except when really dumb."

    As far as the 16-byte alignment, my understanding is not that it is
    related to the I$ but rather is the decoder datum.

    -hpa




    \
     
     \ /
      Last update: 2015-04-10 16:01    [W:4.092 / U:0.288 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site