xref: /aosp_15_r20/external/llvm/test/MC/Mips/mips32r3/invalid-mips64r2.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=mips64-unknown-linux -show-encoding \
4*9880d681SAndroid Build Coastguard Worker# RUN:     -mcpu=mips32r3 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	dsbh	$v1,$t6    # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
9*9880d681SAndroid Build Coastguard Worker	dshd	$v0,$sp    # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
10*9880d681SAndroid Build Coastguard Worker
11