Skip to content
Commit cf3b3baa authored by Max Filippov's avatar Max Filippov
Browse files

xtensa: use "m" constraint instead of "a" in cmpxchg.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: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent 812e708a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment