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

Reply via email to