summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Mips/msa/test_lsa.s
blob: 22fd0b3039ed3501010135411710477afd833142 (plain)
1
2
3
4
5
6
7
8
9
10
11
# RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 -mattr=+msa -show-encoding | FileCheck %s
#
# CHECK:        lsa        $8, $9, $10, 1              # encoding: [0x01,0x2a,0x40,0x05]
# CHECK:        lsa        $8, $9, $10, 2              # encoding: [0x01,0x2a,0x40,0x45]
# CHECK:        lsa        $8, $9, $10, 3              # encoding: [0x01,0x2a,0x40,0x85]
# CHECK:        lsa        $8, $9, $10, 4              # encoding: [0x01,0x2a,0x40,0xc5]

                lsa        $8, $9, $10, 1
                lsa        $8, $9, $10, 2
                lsa        $8, $9, $10, 3
                lsa        $8, $9, $10, 4
OpenPOWER on IntegriCloud