From 4943dc2d2c46a4c0f67e7f532ceb3a4b02fe7e25 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Sun, 29 Jan 2017 13:31:56 +0000 Subject: [PATCH] Correct the IT instruction in atomic_fcmpset_64(). Reported by: andrew --- sys/arm/include/atomic-v6.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm/include/atomic-v6.h b/sys/arm/include/atomic-v6.h index 422c2492efa6..2a579dbd0a67 100644 --- a/sys/arm/include/atomic-v6.h +++ b/sys/arm/include/atomic-v6.h @@ -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"