xref: /aosp_15_r20/external/llvm/test/MC/Mips/mips32r6/invalid-mips5.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# Instructions that are invalid
2*9880d681SAndroid Build Coastguard Worker#
3*9880d681SAndroid Build Coastguard Worker# RUN: not llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips32r6 \
4*9880d681SAndroid Build Coastguard Worker# RUN:     2>%t1
5*9880d681SAndroid Build Coastguard Worker# RUN: FileCheck %s < %t1
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard Worker	.set noat
8*9880d681SAndroid Build Coastguard Worker        luxc1     $f19,$s6($s5)       # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
9*9880d681SAndroid Build Coastguard Worker        suxc1     $f12,$k1($13)       # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
10