commit | 0bc671d3f4bee9c31110d096ada0de52380e693d | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Fri May 29 14:26:59 2015 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Mon Jul 27 15:28:52 2015 +0100 |
tree | 63c5120264072fa4599fc6fe0f92f6a044d48f0c | |
parent | e9a4b795652f654a7870727e5333c1b709b8736c [diff] |
arm64: cmpxchg: avoid "cc" clobber in ll/sc routines We can perform the cmpxchg comparison using eor and cbnz which avoids the "cc" clobber for the ll/sc case and consequently for the LSE case where we may have to fall-back on the ll/sc code at runtime. Reviewed-by: Steve Capper <steve.capper@arm.com> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>