Correct the IT instruction in atomic_fcmpset_64().
Reported by: andrew
This commit is contained in:
parent
142c750ace
commit
4943dc2d2c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=312949
@ -220,7 +220,7 @@ atomic_fcmpset_64(volatile uint64_t *p, uint64_t *cmpval, uint64_t newval)
|
|||||||
"1: mov %[ret], #1 \n"
|
"1: mov %[ret], #1 \n"
|
||||||
" ldrexd %Q[tmp], %R[tmp], [%[ptr]] \n"
|
" ldrexd %Q[tmp], %R[tmp], [%[ptr]] \n"
|
||||||
" teq %Q[tmp], %Q[_cmpval] \n"
|
" teq %Q[tmp], %Q[_cmpval] \n"
|
||||||
" itee eq \n"
|
" ite eq \n"
|
||||||
" teqeq %R[tmp], %R[_cmpval] \n"
|
" teqeq %R[tmp], %R[_cmpval] \n"
|
||||||
" bne 2f \n"
|
" bne 2f \n"
|
||||||
" strexd %[ret], %Q[newval], %R[newval], [%[ptr]]\n"
|
" strexd %[ret], %Q[newval], %R[newval], [%[ptr]]\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user