Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jan 2017 13:31:57 +0000 (UTC)
From:      Olivier Houchard <cognet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r312949 - head/sys/arm/include
Message-ID:  <201701291331.v0TDVvP1089423@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701291331.v0TDVvP1089423>