1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00

Fix an itt instruction. We need to execute both the mov and b instructions

when building for Thumb.
This commit is contained in:
Andrew Turner 2013-10-26 19:09:56 +00:00
parent 9dae57e134
commit 0713c174ed
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=257189

View File

@ -198,7 +198,7 @@ atomic_cmpset_32(volatile u_int32_t *p, volatile u_int32_t cmpval, volatile u_in
__asm __volatile("1: ldrex %0, [%1]\n"
"cmp %0, %2\n"
"it ne\n"
"itt ne\n"
"movne %0, #0\n"
"bne 2f\n"
"strex %0, %3, [%1]\n"