[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / VE / VFMAX.s
blobb647aa795f716546e2abd5d6ee7b84e54f951a0a
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: vfrmax.d.fst %v11, %v12
7 # CHECK-ENCODING: encoding: [0x00,0x00,0x0c,0x0b,0x00,0x00,0x00,0xad]
8 vfrmax.d.fst %v11, %v12
10 # CHECK-INST: vfrmax.d.fst %v11, %vix, %vm11
11 # CHECK-ENCODING: encoding: [0x00,0x00,0xff,0x0b,0x00,0x00,0x0b,0xad]
12 vfrmax.d.fst %v11, %vix, %vm11
14 # CHECK-INST: vfrmax.d.lst %vix, %v22, %vm15
15 # CHECK-ENCODING: encoding: [0x00,0x00,0x16,0xff,0x00,0x00,0x2f,0xad]
16 vfrmax.d.lst %vix, %v22, %vm15
18 # CHECK-INST: vfrmax.s.lst %v63, %v60, %vm2
19 # CHECK-ENCODING: encoding: [0x00,0x00,0x3c,0x3f,0x00,0x00,0xa2,0xad]
20 vfrmax.s.lst %v63, %v60, %vm2
22 # CHECK-INST: vfrmax.s.fst %vix, %vix
23 # CHECK-ENCODING: encoding: [0x00,0x00,0xff,0xff,0x00,0x00,0x80,0xad]
24 vfrmax.s.fst %vix, %vix, %vm0
26 # CHECK-INST: vfrmax.s.lst %vix, %vix, %vm2
27 # CHECK-ENCODING: encoding: [0x00,0x00,0xff,0xff,0x00,0x00,0xa2,0xad]
28 vfrmax.s.lst %vix, %vix, %vm2
30 # CHECK-INST: vfrmin.d.fst %v11, %v12
31 # CHECK-ENCODING: encoding: [0x00,0x00,0x0c,0x0b,0x00,0x00,0x10,0xad]
32 vfrmin.d.fst %v11, %v12
34 # CHECK-INST: vfrmin.d.fst %v11, %vix, %vm11
35 # CHECK-ENCODING: encoding: [0x00,0x00,0xff,0x0b,0x00,0x00,0x1b,0xad]
36 vfrmin.d.fst %v11, %vix, %vm11
38 # CHECK-INST: vfrmin.d.lst %vix, %v22, %vm15
39 # CHECK-ENCODING: encoding: [0x00,0x00,0x16,0xff,0x00,0x00,0x3f,0xad]
40 vfrmin.d.lst %vix, %v22, %vm15
42 # CHECK-INST: vfrmin.s.lst %v63, %v60, %vm2
43 # CHECK-ENCODING: encoding: [0x00,0x00,0x3c,0x3f,0x00,0x00,0xb2,0xad]
44 vfrmin.s.lst %v63, %v60, %vm2
46 # CHECK-INST: vfrmin.s.fst %vix, %vix
47 # CHECK-ENCODING: encoding: [0x00,0x00,0xff,0xff,0x00,0x00,0x90,0xad]
48 vfrmin.s.fst %vix, %vix, %vm0
50 # CHECK-INST: vfrmin.s.lst %vix, %vix, %vm2
51 # CHECK-ENCODING: encoding: [0x00,0x00,0xff,0xff,0x00,0x00,0xb2,0xad]
52 vfrmin.s.lst %vix, %vix, %vm2