1# RUN: not llvm-mc %s -triple=mips-unknown-linux-gnu -show-encoding \
2# RUN:     -mcpu=mips32r6 -mattr=+crc 2>%t1
3# RUN: FileCheck %s < %t1
4# RUN: not llvm-mc %s -triple=mips64-unknown-linux-gnu -show-encoding \
5# RUN:     -mcpu=mips64r6 -mattr=+crc 2>%t1
6# RUN: FileCheck %s < %t1
7
8  .set nocrc
9  crc32b	$1, $2, $1 	# CHECK: instruction requires a CPU feature not currently enabled
10