aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Mips/mips32r3/invalid-mips64r2.s
blob: 0f007e27748a4ab746a9760550f21bdcf18e969a (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=mips32r3 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