lkml.org 
[lkml]   [2001]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: i386 flags register clober in inline assembly

    On 17 Nov 2001, Momchil Velikov wrote:
    >
    > Indeed, with pattern like:
    > (define_insn "*ja"
    > [(set (pc)
    > (if_then_else (gtu (match_operand:CC 0 "" "") (const_int 0))
    > (label_ref (match_operand 1 "" ""))
    > (pc)))]
    > ""
    > "ja ..."
    > ...)

    As far as I can tell, that pattern already exists in i386.md.

    So it shouldn't need any new patterns, it would only need a way to allow
    the setting of cc0 from the asm - so that we can get the first part,
    namely the "(set (cc0) ..asm..)" thing.

    Linus

    -
    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: 2005-03-22 13:13    [W:0.021 / U:59.292 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site