1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/MC/ARM/not-armv4.s
Benjamin Kramer 1f0b6cda68 ARM: Let the assembler reject v5 instructions in v4 mode.
PR18524.

llvm-svn: 199559
2014-01-18 19:03:19 +00:00

9 lines
213 B
ArmAsm

@ RUN: not llvm-mc < %s -triple armv4-unknown-unknown -show-encoding 2>&1 | FileCheck %s
@ PR18524
@ CHECK: error: instruction requires: armv5t
clz r4,r9
@ CHECK: error: instruction requires: armv6t2
rbit r4,r9