]> asedeno.scripts.mit.edu Git - linux.git/commit
xtensa: use "m" constraint instead of "a" in bitops.h assembly
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 16 Oct 2019 05:17:33 +0000 (22:17 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 26 Nov 2019 19:33:38 +0000 (11:33 -0800)
commit5bf67094a3a2d99d5f96db30be286f6c41988177
tree78963be4370936d095943031ab745b22ad4a2017
parente444917019258ef3bd564d0b4a432add2c26a2ae
xtensa: use "m" constraint instead of "a" in bitops.h assembly

Use "m" constraint instead of "r" for the address, as "m" allows
compiler to access adjacent locations using base + offset, while "r"
requires updating the base register every time.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/bitops.h