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
7 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x20]
10 # CHECK-INST: fencem 1
11 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x20]
14 # CHECK-INST: fencem 2
15 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x20]
18 # CHECK-INST: fencem 3
19 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x20]
22 # CHECK-INST: fencec 1
23 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x20]
26 # CHECK-INST: fencec 2
27 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x20]
30 # CHECK-INST: fencec 3
31 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x20]
34 # CHECK-INST: fencec 4
35 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x20]
38 # CHECK-INST: fencec 5
39 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x20]
42 # CHECK-INST: fencec 6
43 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x20]
46 # CHECK-INST: fencec 7
47 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x07,0x00,0x20]