Home | History | Annotate | Download | only in ARM
      1 @ RUN: not llvm-mc -triple thumbv7-eabi -mattr +thumb2 %s 2>&1 | FileCheck %s
      2 
      3 	.syntax unified
      4 	.text
      5 	.thumb
      6 
      7 undefined:
      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: instruction requires: arm-mode
     17 @ CHECK: 	udf #256
     18 @ CHECK: 	^
     19 
     20 	udf.w #65536
     21 
     22 @ CHECK: error: invalid operand for instruction
     23 @ CHECK: 	udf.w #65536
     24 @ CHECK: 	      ^
     25 
     26