Compute A-B when A or B is weak.
[oota-llvm.git] / test / MC / Mips / msa / test_dlsa.s
1 # RUN: llvm-mc %s -arch=mips64 -mcpu=mips64r2 -mattr=+msa -show-encoding | \
2 # RUN:   FileCheck %s
3 #
4 # CHECK:        dlsa        $8, $9, $10, 1              # encoding: [0x01,0x2a,0x40,0x15]
5 # CHECK:        dlsa        $8, $9, $10, 2              # encoding: [0x01,0x2a,0x40,0x55]
6 # CHECK:        dlsa        $8, $9, $10, 3              # encoding: [0x01,0x2a,0x40,0x95]
7 # CHECK:        dlsa        $8, $9, $10, 4              # encoding: [0x01,0x2a,0x40,0xd5]
8
9                 dlsa        $8, $9, $10, 1
10                 dlsa        $8, $9, $10, 2
11                 dlsa        $8, $9, $10, 3
12                 dlsa        $8, $9, $10, 4