aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Mips/msa/set-msa-directive-bad.s
blob: 02cb9a67e78931715ca46148acd904d673071b53 (plain)
1
2
3
4
5
6
7
8
9
10
11
# RUN: not llvm-mc %s -arch=mips -mcpu=mips32r2 2>%t1
# RUN: FileCheck %s < %t1

    .set nomsa
    addvi.b     $w14, $w12, 14 # CHECK: error: instruction requires a CPU feature not currently enabled

    .set msa
    addvi.h     $w26, $w17, 4 
    
    .set nomsa
    addvi.w     $w19, $w13, 11 # CHECK: error: instruction requires a CPU feature not currently enabled