• Silas Boyd-Wickizer's avatar
    Add "memory" and "cc" to the clobbers of atomic instructions in ref.hh · 992b264a
    Silas Boyd-Wickizer 提交于
    The gcc docs say use "memory" if "your assembler instructions access
    memory in an unpredictable fashion".  I don't know what that means,
    but linux adds "memory" for similar inlines.  The gcc docs say use
    "cc" if "assembler instruction can alter the condition code
    register".  I know what that means, but linux doesn't use it.
    992b264a
ref.hh 1.9 KB