[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / VE / VMV.s
blob3e67c044abd3d386c5e850dac74e85eba326eb0b
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: vmv %v11, 23, %v11
7 # CHECK-ENCODING: encoding: [0x00,0x0b,0x00,0x0b,0x00,0x17,0x00,0x9c]
8 vmv %v11, 23, %v11
10 # CHECK-INST: vmv %v11, %s12, %vix, %vm15
11 # CHECK-ENCODING: encoding: [0x00,0xff,0x00,0x0b,0x00,0x8c,0x0f,0x9c]
12 vmv %v11, %s12, %vix, %vm15
14 # CHECK-INST: vmv %vix, 127, %v63
15 # CHECK-ENCODING: encoding: [0x00,0x3f,0x00,0xff,0x00,0x7f,0x00,0x9c]
16 vmv %vix, 127, %v63, %vm0