• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1@ RUN: not llvm-mc -triple thumbv7-eabi -mattr +thumb2 %s 2>&1 | FileCheck %s
2
3	.syntax unified
4	.text
5	.thumb
6
7undefined:
8	udfpl
9
10@ CHECK: error: instruction 'udf' is not predicable, but condition code specified
11@ CHECK: 	udfpl
12@ CHECK: 	^
13
14	udf #256
15
16@ CHECK: error: invalid instruction, any one of the following would fix this:
17@ CHECK: note: instruction requires: arm-mode
18@ CHECK: note: operand must be an immediate in the range [0,255]
19@ CHECK: 	udf #256
20@ CHECK: 	^
21
22	udf.w #65536
23
24@ CHECK: error: operand must be an immediate in the range [0,65535]
25@ CHECK: 	udf.w #65536
26@ CHECK: 	      ^
27
28