summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Mips/crc/set-nocrc-directive.s
blob: e89b7d9994dd603680c2c4ad8ec7d8766f06d294 (plain)
1
2
3
4
5
6
7
8
9
# RUN: not llvm-mc %s -triple=mips-unknown-linux-gnu -show-encoding \
# RUN:     -mcpu=mips32r6 -mattr=+crc 2>%t1
# RUN: FileCheck %s < %t1
# RUN: not llvm-mc %s -triple=mips64-unknown-linux-gnu -show-encoding \
# RUN:     -mcpu=mips64r6 -mattr=+crc 2>%t1
# RUN: FileCheck %s < %t1

  .set nocrc
  crc32b	$1, $2, $1 	# CHECK: instruction requires a CPU feature not currently enabled
OpenPOWER on IntegriCloud