[lldb-dap] Ensure the IO forwarding threads are managed by the DAP object lifecycle...
[llvm-project.git] / llvm / test / MC / RISCV / xqciac-valid.s
blob6e97d8cc447e14a8f79c03a537ff7aa775926921
1 # Xqciac - Qualcomm uC Load-Store Address Calculation Extension
2 # RUN: llvm-mc %s -triple=riscv32 -mattr=+experimental-xqciac -riscv-no-aliases -show-encoding \
3 # RUN: | FileCheck -check-prefixes=CHECK-ENC,CHECK-INST %s
4 # RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+experimental-xqciac < %s \
5 # RUN: | llvm-objdump --mattr=+experimental-xqciac -M no-aliases --no-print-imm-hex -d - \
6 # RUN: | FileCheck -check-prefix=CHECK-INST %s
7 # RUN: llvm-mc %s -triple=riscv32 -mattr=+experimental-xqciac -show-encoding \
8 # RUN: | FileCheck -check-prefixes=CHECK-ENC,CHECK-INST %s
9 # RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+experimental-xqciac < %s \
10 # RUN: | llvm-objdump --mattr=+experimental-xqciac --no-print-imm-hex -d - \
11 # RUN: | FileCheck -check-prefix=CHECK-INST %s
13 # CHECK-INST: qc.c.muladdi a0, a1, 0
14 # CHECK-ENC: encoding: [0x8a,0x21]
15 qc.c.muladdi x10, x11, 0
17 # CHECK-INST: qc.c.muladdi a0, a1, 31
18 # CHECK-ENC: encoding: [0xea,0x3d]
19 qc.c.muladdi x10, x11, 31
21 # CHECK-INST: qc.c.muladdi a0, a1, 16
22 # CHECK-ENC: encoding: [0xaa,0x21]
23 qc.c.muladdi x10, x11, 16
26 # CHECK-INST: qc.muladdi tp, t0, 1234
27 # CHECK-ENC: encoding: [0x0b,0xe2,0x22,0x4d]
28 qc.muladdi x4, x5, 1234
30 # CHECK-INST: qc.muladdi a0, a1, -2048
31 # CHECK-ENC: encoding: [0x0b,0xe5,0x05,0x80]
32 qc.muladdi x10, x11, -2048
34 # CHECK-INST: qc.muladdi a0, a1, 2047
35 # CHECK-ENC: encoding: [0x0b,0xe5,0xf5,0x7f]
36 qc.muladdi x10, x11, 2047
39 # CHECK-INST: qc.shladd tp, t0, t1, 12
40 # CHECK-ENC: encoding: [0x0b,0xb2,0x62,0x58]
41 qc.shladd x4, x5, x6, 12
43 # CHECK-INST: qc.shladd a0, a1, a2, 4
44 # CHECK-ENC: encoding: [0x0b,0xb5,0xc5,0x48]
45 qc.shladd x10, x11, x12, 4
47 # CHECK-INST: qc.shladd a0, a1, a2, 31
48 # CHECK-ENC: encoding: [0x0b,0xb5,0xc5,0x7e]
49 qc.shladd x10, x11, x12, 31