svn commit: r266408 - stable/10/sys/arm/include

Ian Lepore ian at FreeBSD.org
Sun May 18 16:17:14 UTC 2014


Author: ian
Date: Sun May 18 16:17:13 2014
New Revision: 266408
URL: http://svnweb.freebsd.org/changeset/base/266408

Log:
  MFC 257189:
  
    Fix an itt instruction. We need to execute both the mov and b instructions
    when building for Thumb.

Modified:
  stable/10/sys/arm/include/atomic.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/arm/include/atomic.h
==============================================================================
--- stable/10/sys/arm/include/atomic.h	Sun May 18 16:08:11 2014	(r266407)
+++ stable/10/sys/arm/include/atomic.h	Sun May 18 16:17:13 2014	(r266408)
@@ -198,7 +198,7 @@ atomic_cmpset_32(volatile u_int32_t *p, 
 	
 	__asm __volatile("1: ldrex %0, [%1]\n"
 	                 "cmp %0, %2\n"
-	                 "it ne\n"
+	                 "itt ne\n"
 			 "movne %0, #0\n"
 			 "bne 2f\n"
 			 "strex %0, %3, [%1]\n"


More information about the svn-src-all mailing list