[lkml]   [2008]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] x86_64 : support atomic ops with 64 bits integer values
    Mathieu Desnoyers wrote:
    > x86_64 add/sub atomic ops does not seems to accept integer values bigger
    > than 32 bits as immediates. Intel's add/sub documentation specifies they
    > have to be passed as registers.

    This is correct; this is in fact true for all instructions except "mov".

    Whether it's sign- or zero-extending is sometimes subtle, but not in
    these cases.

    Do you happen to know if this is a manifest bug in the current kernel
    (i.e. if there is anywhere we're using more than ±2 GB as a constant to
    these functions?)

    Either way, I'll queue this up to tip:x86/urgent if Ingo hasn't already
    since this is a pure bug fix.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2008-08-16 17:11    [W:0.021 / U:34.788 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site