[PATCH v5 1/3] powerpc/bitops: Use immediate operand when possible
Michael Ellerman
patch-notifications at ellerman.id.au
Wed Dec 8 00:27:03 AEDT 2021
On Tue, 21 Sep 2021 17:09:47 +0200, Christophe Leroy wrote:
> Today we get the following code generation for bitops like
> set or clear bit:
>
> c0009fe0: 39 40 08 00 li r10,2048
> c0009fe4: 7c e0 40 28 lwarx r7,0,r8
> c0009fe8: 7c e7 53 78 or r7,r7,r10
> c0009fec: 7c e0 41 2d stwcx. r7,0,r8
>
> [...]
Applied to powerpc/next.
[1/3] powerpc/bitops: Use immediate operand when possible
https://git.kernel.org/powerpc/c/fb350784d8d17952afa93383bb47aaa6b715c459
[2/3] powerpc/atomics: Use immediate operand when possible
https://git.kernel.org/powerpc/c/41d65207de9fbff58acd8937a7c3f8940c186a87
[3/3] powerpc/atomics: Remove atomic_inc()/atomic_dec() and friends
https://git.kernel.org/powerpc/c/f05cab0034babaa9b3dfaf6003ee6493496a8180
cheers
More information about the Linuxppc-dev
mailing list