[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / Mips / micromips-dsp / invalid-wrong-error.s
blobd43ca766fa0cb62b029cf4d2430f2838e05ed640
1 # Instructions that are correctly rejected but emit a wrong or misleading error.
2 # RUN: not llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips32r6 -mattr=micromips -mattr=+dsp 2>%t1
3 # RUN: FileCheck %s < %t1
5 .set noat
6 wrdsp $5, 128 # CHECK: :[[@LINE]]:3: error: instruction requires a CPU feature not currently enabled
7 wrdsp $5, -1 # CHECK: :[[@LINE]]:13: error: expected 7-bit unsigned immediate