[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / Mips / msa / test_lsa.s
blob22fd0b3039ed3501010135411710477afd833142
1 # RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 -mattr=+msa -show-encoding | FileCheck %s
3 # CHECK: lsa $8, $9, $10, 1 # encoding: [0x01,0x2a,0x40,0x05]
4 # CHECK: lsa $8, $9, $10, 2 # encoding: [0x01,0x2a,0x40,0x45]
5 # CHECK: lsa $8, $9, $10, 3 # encoding: [0x01,0x2a,0x40,0x85]
6 # CHECK: lsa $8, $9, $10, 4 # encoding: [0x01,0x2a,0x40,0xc5]
8 lsa $8, $9, $10, 1
9 lsa $8, $9, $10, 2
10 lsa $8, $9, $10, 3
11 lsa $8, $9, $10, 4