Add support for 8 and 16 bit forms of __sync
[oota-llvm.git] / test / CodeGen / X86 / atomic_op.ll
index a17f0285abaf5229139f085ef2a0ef8c7bb62deb..6871a08b29e6a5db8c8027eb302e66398edab169 100644 (file)
@@ -1,6 +1,7 @@
 ; RUN: llvm-as < %s | llc -march=x86 -o %t1 -f
-; RUN: grep "lock xaddl" %t1 | count 4 
-; RUN: grep "lock cmpxchgl"  %t1 | count 13 
+; RUN: grep "lock" %t1 | count 17
+; RUN: grep "xaddl" %t1 | count 4 
+; RUN: grep "cmpxchgl"  %t1 | count 13 
 ; RUN: grep "xchgl" %t1 | count 14
 ; RUN: grep "cmova" %t1 | count 2
 ; RUN: grep "cmovb" %t1 | count 2