[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / VE / VBRD.s
blobab3bba2d96195b4d37ce38a0ecb8c77526f35523
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: vbrd %v11, 23
7 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x0b,0x00,0x17,0x00,0x8c]
8 vbrd %v11, 23
10 # CHECK-INST: vbrd %v11, %s12, %vm15
11 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x0b,0x00,0x8c,0x0f,0x8c]
12 vbrd %v11, %s12, %vm15
14 # CHECK-INST: vbrd %vix, %s22
15 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0xff,0x00,0x96,0x00,0x8c]
16 vbrd %vix, %s22, %vm0
18 # CHECK-INST: vbrdl %v11, 23
19 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x0b,0x00,0x17,0x40,0x8c]
20 vbrdl %v11, 23
22 # CHECK-INST: vbrdl %v11, %s12, %vm15
23 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x0b,0x00,0x8c,0x4f,0x8c]
24 vbrdl %v11, %s12, %vm15
26 # CHECK-INST: vbrdl %vix, %s22
27 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0xff,0x00,0x96,0x40,0x8c]
28 vbrdl %vix, %s22, %vm0
30 # CHECK-INST: vbrdu %v11, 23
31 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x0b,0x00,0x17,0x80,0x8c]
32 vbrdu %v11, 23
34 # CHECK-INST: vbrdu %v11, %s12, %vm15
35 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x0b,0x00,0x8c,0x8f,0x8c]
36 vbrdu %v11, %s12, %vm15
38 # CHECK-INST: vbrdu %vix, %s22
39 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0xff,0x00,0x96,0x80,0x8c]
40 vbrdu %vix, %s22, %vm0
42 # CHECK-INST: pvbrd %v11, 23
43 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x0b,0x00,0x17,0xc0,0x8c]
44 pvbrd %v11, 23
46 # CHECK-INST: pvbrd %v11, %s12, %vm14
47 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x0b,0x00,0x8c,0xce,0x8c]
48 pvbrd %v11, %s12, %vm14
50 # CHECK-INST: pvbrd %vix, %s22
51 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0xff,0x00,0x96,0xc0,0x8c]
52 pvbrd %vix, %s22, %vm0