1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00

Correct the IT instruction in atomic_fcmpset_64().

Reported by:	andrew
This commit is contained in:
Olivier Houchard 2017-01-29 13:31:56 +00:00
parent 142c750ace
commit 4943dc2d2c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=312949

View File

@ -220,7 +220,7 @@ atomic_fcmpset_64(volatile uint64_t *p, uint64_t *cmpval, uint64_t newval)
"1: mov %[ret], #1 \n"
" ldrexd %Q[tmp], %R[tmp], [%[ptr]] \n"
" teq %Q[tmp], %Q[_cmpval] \n"
" itee eq \n"
" ite eq \n"
" teqeq %R[tmp], %R[_cmpval] \n"
" bne 2f \n"
" strexd %[ret], %Q[newval], %R[newval], [%[ptr]]\n"