[lldb-dap] Ensure the IO forwarding threads are managed by the DAP object lifecycle...
[llvm-project.git] / llvm / test / MC / RISCV / rvzalrsc-valid.s
blob01883dadbabaa0e8fa332198238d432f6b101f26
1 # RUN: llvm-mc %s -triple=riscv32 -mattr=+a -M no-aliases -show-encoding \
2 # RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
3 # RUN: llvm-mc %s -triple=riscv64 -mattr=+a -M no-aliases -show-encoding \
4 # RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
5 # RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+a < %s \
6 # RUN: | llvm-objdump --mattr=+a -M no-aliases -d -r - \
7 # RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
8 # RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+a < %s \
9 # RUN: | llvm-objdump --mattr=+a -M no-aliases -d -r - \
10 # RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
11 # RUN: llvm-mc %s -triple=riscv32 -mattr=+zalrsc -M no-aliases -show-encoding \
12 # RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
13 # RUN: llvm-mc %s -triple=riscv64 -mattr=+zalrsc -M no-aliases -show-encoding \
14 # RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
15 # RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+zalrsc < %s \
16 # RUN: | llvm-objdump --mattr=+zalrsc -M no-aliases -d -r - \
17 # RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
18 # RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+zalrsc < %s \
19 # RUN: | llvm-objdump --mattr=+zalrsc -M no-aliases -d -r - \
20 # RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
22 # CHECK-ASM-AND-OBJ: lr.w t0, (t1)
23 # CHECK-ASM: encoding: [0xaf,0x22,0x03,0x10]
24 lr.w t0, (t1)
25 # CHECK-ASM-AND-OBJ: lr.w.aq t1, (t2)
26 # CHECK-ASM: encoding: [0x2f,0xa3,0x03,0x14]
27 lr.w.aq t1, (t2)
28 # CHECK-ASM-AND-OBJ: lr.w.rl t2, (t3)
29 # CHECK-ASM: encoding: [0xaf,0x23,0x0e,0x12]
30 lr.w.rl t2, (t3)
31 # CHECK-ASM-AND-OBJ: lr.w.aqrl t3, (t4)
32 # CHECK-ASM: encoding: [0x2f,0xae,0x0e,0x16]
33 lr.w.aqrl t3, (t4)
35 # CHECK-ASM-AND-OBJ: sc.w t6, t5, (t4)
36 # CHECK-ASM: encoding: [0xaf,0xaf,0xee,0x19]
37 sc.w t6, t5, (t4)
38 # CHECK-ASM-AND-OBJ: sc.w.aq t5, t4, (t3)
39 # CHECK-ASM: encoding: [0x2f,0x2f,0xde,0x1d]
40 sc.w.aq t5, t4, (t3)
41 # CHECK-ASM-AND-OBJ: sc.w.rl t4, t3, (t2)
42 # CHECK-ASM: encoding: [0xaf,0xae,0xc3,0x1b]
43 sc.w.rl t4, t3, (t2)
44 # CHECK-ASM-AND-OBJ: sc.w.aqrl t3, t2, (t1)
45 # CHECK-ASM: encoding: [0x2f,0x2e,0x73,0x1e]
46 sc.w.aqrl t3, t2, (t1)