llvm-project/llvm/test/MC/XCOFF/inlineasm.s

24 lines
494 B
ArmAsm

// RUN: llvm-mc -filetype=asm -triple powerpc-ibm-aix-xcoff %s | FileCheck %s
// CHECK-label: .csect .text[PR],2
// CHECK:L..tmp0:
// CHECK-NEXT: lwarx 3, 0, 4
// CHECK-NEXT: cmpw 5, 3
// CHECK-NEXT: bne- 0, L..tmp1
// CHECK-NEXT: stwcx. 6, 0, 4
// CHECK-NEXT: bne- 0, L..tmp0
// CHECK-NEXT:L..tmp1:
#APP
1:
lwarx 3, 0, 4
cmpw 5, 3
bne- 2f
stwcx. 6, 0, 4
bne- 1b
2:
#NO_APP