]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Use compact branch for LL/SC loops on MIPSr6+
authorPaul Burton <paul.burton@mips.com>
Tue, 1 Oct 2019 21:53:06 +0000 (21:53 +0000)
committerPaul Burton <paul.burton@mips.com>
Mon, 7 Oct 2019 16:42:14 +0000 (09:42 -0700)
commitc461ff5ec5cbbf569e904dc96a26cb7736d2ee51
tree8f2f1c2143a8cb51de33f3368ae4307e6836e9a8
parent1415c32985f175838bdbecaf3bfa625516962672
MIPS: Use compact branch for LL/SC loops on MIPSr6+

When targeting MIPSr6 or higher make use of a compact branch in LL/SC
loops, preventing the insertion of a delay slot nop that only serves to
waste space.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Cc: Huacai Chen <chenhc@lemote.com>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: linux-kernel@vger.kernel.org
arch/mips/include/asm/llsc.h