xtensa: relax memory constraint in atomic assembly
commitc2e5177b97825211565150b4f9a7f253e0458619
authorMax Filippov <jcmvbkbc@gmail.com>
Sun, 9 Aug 2020 06:23:11 +0000 (8 23:23 -0700)
committerWaldemar Brodkorb <wbx@openadk.org>
Tue, 11 Aug 2020 11:35:02 +0000 (11 13:35 +0200)
treeb7f5d1218a5e7541959ec097f8647b3beb30d2ba
parent93277314f0ec84409e15f6e2cd616d028cb53065
xtensa: relax memory constraint in atomic assembly

Replace "a" constraints with "+m" to avoid forcing atomic variable
address into a register and let the compiler use non-zero offset in
load/store opcodes.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
libc/sysdeps/linux/xtensa/bits/atomic.h
libpthread/linuxthreads/sysdeps/xtensa/pt-machine.h