lkml.org 
[lkml]   [2020]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] x86: bitops: fix build regression
    From
    Date
    On 2020-05-08 10:21, Nick Desaulniers wrote:
    >>
    >> One last suggestion. Add the "b" modifier to the mask operand: "orb
    >> %b1, %0". That forces the compiler to use the 8-bit register name
    >> instead of trying to deduce the width from the input.
    >
    > Ah right: https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html#x86Operandmodifiers
    >
    > Looks like that works for both compilers. In that case, we can likely
    > drop the `& 0xff`, too. Let me play with that, then I'll hopefully
    > send a v3 today.
    >

    Good idea. I requested a while ago that they document these modifiers; they
    chose not to document them all which in some ways is good; it shows what they
    are willing to commit to indefinitely.

    -hpa

    \
     
     \ /
      Last update: 2020-05-08 19:33    [W:2.061 / U:0.096 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site