[MIPS] Improve branch prediction in ll/sc atomic operations.
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:
Ralf Baechle <ralf@linux-mips.org>
Showing
- include/asm-mips/atomic.h 40 additions, 10 deletionsinclude/asm-mips/atomic.h
- include/asm-mips/bitops.h 27 additions, 6 deletionsinclude/asm-mips/bitops.h
- include/asm-mips/spinlock.h 44 additions, 12 deletionsinclude/asm-mips/spinlock.h
- include/asm-mips/system.h 16 additions, 4 deletionsinclude/asm-mips/system.h
Please register or sign in to comment