• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 | FileCheck %s
2
3# CHECK:    .set msa
4# CHECK:    addvi.b     $w14, $w12, 14
5# CHECK:    addvi.h     $w26, $w17, 4
6# CHECK:    addvi.w     $w19, $w13, 11
7# CHECK:    addvi.d     $w16, $w19, 7
8# CHECK:    subvi.b     $w14, $w12, 14
9# CHECK:    subvi.h     $w26, $w17, 4
10# CHECK:    subvi.w     $w19, $w13, 11
11# CHECK:    subvi.d     $w16, $w19, 7
12
13    .set msa
14    addvi.b     $w14, $w12, 14
15    addvi.h     $w26, $w17, 4
16    addvi.w     $w19, $w13, 11
17    addvi.d     $w16, $w19, 7
18
19    subvi.b     $w14, $w12, 14
20    subvi.h     $w26, $w17, 4
21    subvi.w     $w19, $w13, 11
22    subvi.d     $w16, $w19, 7
23