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"
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to