lkml.org 
[lkml]   [2007]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 4/7] Immediate Values - i386 Optimization
    H. Peter Anvin wrote:
    > Allowing different registers should be doable, but if so, one would have
    > to put 0: at the *end* of the instruction and use (0f)-4 instead, since
    > the non-%eax forms are one byte longer.
    >

    OK, that's already a problem since its using "=r" as the constraint.

    > This also seems "safer", since an imm32 is always the last thing in the
    > instruction.

    Good idea. If gas/gcc generates entirely the wrong addressing mode,
    then we've got bigger problems.

    J
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-09-19 00:31    [from the cache]
    ©2003-2014 Jasper Spaans. hosted at Digital Ocean