Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / RISCV / rv32zicbom-valid.s
blobf02b26773ee95d0314e70cb225b00ccb0c1e1a8b
1 # RUN: llvm-mc %s -triple=riscv32 -mattr=+zicbom -show-encoding \
2 # RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
3 # RUN: llvm-mc %s -triple=riscv64 -mattr=+zicbom -show-encoding \
4 # RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
5 # RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+zicbom < %s \
6 # RUN: | llvm-objdump --mattr=+zicbom -d -r - \
7 # RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
8 # RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+zicbom < %s \
9 # RUN: | llvm-objdump --mattr=+zicbom -d -r - \
10 # RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
12 # CHECK-ASM-AND-OBJ: cbo.clean (t0)
13 # CHECK-ASM: encoding: [0x0f,0xa0,0x12,0x00]
14 cbo.clean (t0)
15 # CHECK-ASM-AND-OBJ: cbo.clean (t0)
16 # CHECK-ASM: encoding: [0x0f,0xa0,0x12,0x00]
17 cbo.clean 0(t0)
19 # CHECK-ASM-AND-OBJ: cbo.flush (t1)
20 # CHECK-ASM: encoding: [0x0f,0x20,0x23,0x00]
21 cbo.flush (t1)
22 # CHECK-ASM-AND-OBJ: cbo.flush (t1)
23 # CHECK-ASM: encoding: [0x0f,0x20,0x23,0x00]
24 cbo.flush 0(t1)
26 # CHECK-ASM-AND-OBJ: cbo.inval (t2)
27 # CHECK-ASM: encoding: [0x0f,0xa0,0x03,0x00]
28 cbo.inval (t2)
29 # CHECK-ASM-AND-OBJ: cbo.inval (t2)
30 # CHECK-ASM: encoding: [0x0f,0xa0,0x03,0x00]
31 cbo.inval 0(t2)