aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Mips/mips32r5/invalid-mips64r2.s
blob: ed8f5c743b98ed0ebe641548ca58b180f991eb7f (plain)
1
2
3
4
5
6
7
8
9
10
# Instructions that are invalid
#
# RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding \
# RUN:     -mcpu=mips32r5 2>%t1
# RUN: FileCheck %s < %t1

	.set noat
	dsbh	$v1,$t6    # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
	dshd	$v0,$sp    # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled