summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/atomic8.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/atomic8.ll')
-rw-r--r--llvm/test/CodeGen/X86/atomic8.ll48
1 files changed, 24 insertions, 24 deletions
diff --git a/llvm/test/CodeGen/X86/atomic8.ll b/llvm/test/CodeGen/X86/atomic8.ll
index 5eef9b295e8..01123ae9b07 100644
--- a/llvm/test/CodeGen/X86/atomic8.ll
+++ b/llvm/test/CodeGen/X86/atomic8.ll
@@ -157,15 +157,15 @@ define void @atomic_fetch_max8(i8 %x) nounwind {
; X64-LABEL: atomic_fetch_max8:
; X32-LABEL: atomic_fetch_max8:
%t1 = atomicrmw max i8* @sc8, i8 %x acquire
-; X64: movsbl
-; X64: movsbl
-; X64: subl
+; X64: movb
+; X64: movb
+; X64: subb
; X64: lock
; X64: cmpxchgb
-; X32: movsbl
-; X32: movsbl
-; X32: subl
+; X32: movb
+; X32: movb
+; X32: subb
; X32: lock
; X32: cmpxchgb
ret void
@@ -177,15 +177,15 @@ define void @atomic_fetch_min8(i8 %x) nounwind {
; X64-LABEL: atomic_fetch_min8:
; X32-LABEL: atomic_fetch_min8:
%t1 = atomicrmw min i8* @sc8, i8 %x acquire
-; X64: movsbl
-; X64: movsbl
-; X64: subl
+; X64: movb
+; X64: movb
+; X64: subb
; X64: lock
; X64: cmpxchgb
-; X32: movsbl
-; X32: movsbl
-; X32: subl
+; X32: movb
+; X32: movb
+; X32: subb
; X32: lock
; X32: cmpxchgb
ret void
@@ -197,15 +197,15 @@ define void @atomic_fetch_umax8(i8 %x) nounwind {
; X64-LABEL: atomic_fetch_umax8:
; X32-LABEL: atomic_fetch_umax8:
%t1 = atomicrmw umax i8* @sc8, i8 %x acquire
-; X64: movzbl
-; X64: movzbl
-; X64: subl
+; X64: movb
+; X64: movb
+; X64: subb
; X64: lock
; X64: cmpxchgb
-; X32: movzbl
-; X32: movzbl
-; X32: subl
+; X32: movb
+; X32: movb
+; X32: subb
; X32: lock
; X32: cmpxchgb
ret void
@@ -217,15 +217,15 @@ define void @atomic_fetch_umin8(i8 %x) nounwind {
; X64-LABEL: atomic_fetch_umin8:
; X32-LABEL: atomic_fetch_umin8:
%t1 = atomicrmw umin i8* @sc8, i8 %x acquire
-; X64: movzbl
-; X64: movzbl
-; X64: subl
+; X64: movb
+; X64: movb
+; X64: subb
; X64: lock
; X64: cmpxchgb
-; X32: movzbl
-; X32: movzbl
-; X32: subl
+; X32: movb
+; X32: movb
+; X32: subb
; X32: lock
; X32: cmpxchgb
ret void
OpenPOWER on IntegriCloud