Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2013 19:09:56 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r257189 - head/sys/arm/include
Message-ID:  <201310261909.r9QJ9uRx094317@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Sat Oct 26 19:09:56 2013
New Revision: 257189
URL: http://svnweb.freebsd.org/changeset/base/257189

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

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

Modified: head/sys/arm/include/atomic.h
==============================================================================
--- head/sys/arm/include/atomic.h	Sat Oct 26 19:04:43 2013	(r257188)
+++ head/sys/arm/include/atomic.h	Sat Oct 26 19:09:56 2013	(r257189)
@@ -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"



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