svn commit: r312949 - head/sys/arm/include

Olivier Houchard cognet at FreeBSD.org
Sun Jan 29 13:31:58 UTC 2017


Author: cognet
Date: Sun Jan 29 13:31:56 2017
New Revision: 312949
URL: https://svnweb.freebsd.org/changeset/base/312949

Log:
  Correct the IT instruction in atomic_fcmpset_64().
  
  Reported by:	andrew

Modified:
  head/sys/arm/include/atomic-v6.h

Modified: head/sys/arm/include/atomic-v6.h
==============================================================================
--- head/sys/arm/include/atomic-v6.h	Sun Jan 29 12:31:24 2017	(r312948)
+++ head/sys/arm/include/atomic-v6.h	Sun Jan 29 13:31:56 2017	(r312949)
@@ -220,7 +220,7 @@ atomic_fcmpset_64(volatile uint64_t *p, 
 	    "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"


More information about the svn-src-all mailing list