• Ralf Baechle's avatar
    [MIPS] Improve branch prediction in ll/sc atomic operations. · f65e4fa8
    Ralf Baechle authored
    Now that finally all supported versions of binutils have functioning
    support for .subsection use .subsection to tweak the branch prediction
    
    I did not modify the R10000 errata variants because it seems unclear if
    this will invalidate the workaround which actually relies on the cheesy
    prediction of branch likely to cause a misspredict if the sc was
    successful.
    Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    f65e4fa8
atomic.h 17.2 KB