[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / VE / EQVM.s
blobe88fc5c551ef7b5d379c50adbffb921a617f1a5f
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: eqvm %vm0, %vm0, %vm0
7 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x87]
8 eqvm %vm0, %vm0, %vm0
10 # CHECK-INST: eqvm %vm11, %vm1, %vm15
11 # CHECK-ENCODING: encoding: [0x00,0x0f,0x01,0x0b,0x00,0x00,0x00,0x87]
12 eqvm %vm11, %vm1, %vm15
14 # CHECK-INST: eqvm %vm11, %vm15, %vm0
15 # CHECK-ENCODING: encoding: [0x00,0x00,0x0f,0x0b,0x00,0x00,0x00,0x87]
16 eqvm %vm11, %vm15, %vm0