[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / VE / FENCE.s
blob15ed48395987fddd08e57627f5fa47e502ffcf6b
1 # RUN: llvm-mc -triple=ve --show-encoding < %s \
2 # RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
3 # RUN: llvm-mc -triple=ve -filetype=obj < %s | llvm-objdump -d - \
4 # RUN: | FileCheck %s --check-prefixes=CHECK-INST
6 # CHECK-INST: fencei
7 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x20]
8 fencei
10 # CHECK-INST: fencem 1
11 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x20]
12 fencem 1
14 # CHECK-INST: fencem 2
15 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x20]
16 fencem 2
18 # CHECK-INST: fencem 3
19 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x20]
20 fencem 3
22 # CHECK-INST: fencec 1
23 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x20]
24 fencec 1
26 # CHECK-INST: fencec 2
27 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x20]
28 fencec 2
30 # CHECK-INST: fencec 3
31 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x20]
32 fencec 3
34 # CHECK-INST: fencec 4
35 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x20]
36 fencec 4
38 # CHECK-INST: fencec 5
39 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x20]
40 fencec 5
42 # CHECK-INST: fencec 6
43 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x20]
44 fencec 6
46 # CHECK-INST: fencec 7
47 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x07,0x00,0x20]
48 fencec 7