xref: /aosp_15_r20/external/llvm/test/MC/Mips/mips32r3/invalid-mips64r2.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1# Instructions that are invalid
2#
3# RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding \
4# RUN:     -mcpu=mips32r3 2>%t1
5# RUN: FileCheck %s < %t1
6
7	.set noat
8	dsbh	$v1,$t6    # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
9	dshd	$v0,$sp    # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
10
11