Home | History | Annotate | Download | only in ARM
      1 # RUN: not llvm-mc -disassemble -triple armv8a-none-eabi -mattr=-fullfp16 -show-encoding < %s 2>&1 | FileCheck %s
      2 
      3 # CHECK: warning: invalid instruction encoding
      4 [0x80,0x09,0x30,0xee]
      5 
      6 # CHECK: warning: invalid instruction encoding
      7 [0xc0,0x09,0x30,0xee]
      8 
      9 # CHECK: warning: invalid instruction encoding
     10 [0x80,0x09,0x80,0xee]
     11 
     12 # CHECK: warning: invalid instruction encoding
     13 [0x80,0x09,0x20,0xee]
     14 
     15 # CHECK: warning: invalid instruction encoding
     16 [0xc0,0x09,0x20,0xee]
     17 
     18 # CHECK: warning: invalid instruction encoding
     19 [0x00,0x09,0x41,0xee]
     20 
     21 # CHECK: warning: invalid instruction encoding
     22 [0x40,0x09,0x41,0xee]
     23 
     24 # CHECK: warning: invalid instruction encoding
     25 [0x40,0x09,0x51,0xee]
     26 
     27 # CHECK: warning: invalid instruction encoding
     28 [0x00,0x09,0x51,0xee]
     29 
     30 # CHECK: warning: invalid instruction encoding
     31 [0x60,0x09,0xb4,0xee]
     32 
     33 # CHECK: warning: invalid instruction encoding
     34 [0x40,0x19,0xb5,0xee]
     35 
     36 # CHECK: warning: invalid instruction encoding
     37 [0xc0,0x09,0xf4,0xee]
     38 
     39 # CHECK: warning: invalid instruction encoding
     40 [0xc0,0x09,0xb5,0xee]
     41 
     42 # CHECK: warning: invalid instruction encoding
     43 [0xc0,0x09,0xb0,0xee]
     44 
     45 # CHECK: warning: invalid instruction encoding
     46 [0x40,0x09,0xb1,0xee]
     47 
     48 # CHECK: warning: invalid instruction encoding
     49 [0xc0,0x09,0xb1,0xee]
     50 
     51 # CHECK: warning: invalid instruction encoding
     52 # CHECK: warning: invalid instruction encoding
     53 # CHECK: warning: invalid instruction encoding
     54 # CHECK: warning: invalid instruction encoding
     55 [0xc0,0x09,0xb8,0xee]
     56 [0x40,0x09,0xb8,0xee]
     57 [0xc0,0x09,0xbd,0xee]
     58 [0xc0,0x09,0xbc,0xee]
     59 
     60 # CHECK: warning: invalid instruction encoding
     61 # CHECK: warning: invalid instruction encoding
     62 [0x60,0x09,0xbd,0xee]
     63 [0x60,0x09,0xbc,0xee]
     64 
     65 # CHECK: warning: invalid instruction encoding
     66 # CHECK: warning: invalid instruction encoding
     67 # CHECK: warning: invalid instruction encoding
     68 # CHECK: warning: invalid instruction encoding
     69 # CHECK: warning: invalid instruction encoding
     70 # CHECK: warning: invalid instruction encoding
     71 # CHECK: warning: invalid instruction encoding
     72 # CHECK: warning: invalid instruction encoding
     73 [0xc6,0x09,0xbb,0xee]
     74 [0x67,0x09,0xbb,0xee]
     75 [0xc6,0x09,0xfa,0xee]
     76 [0x67,0x89,0xfa,0xee]
     77 [0xc6,0x69,0xbf,0xee]
     78 [0x67,0xe9,0xbf,0xee]
     79 [0xc6,0x09,0xfe,0xee]
     80 [0x67,0x89,0xfe,0xee]
     81 
     82 # CHECK: warning: invalid instruction encoding
     83 [0xe1,0x19,0xbc,0xfe]
     84 
     85 # CHECK: warning: invalid instruction encoding
     86 [0xeb,0x39,0xbd,0xfe]
     87 
     88 # CHECK: warning: invalid instruction encoding
     89 [0xc2,0x09,0xbe,0xfe]
     90 
     91 # CHECK: warning: invalid instruction encoding
     92 [0xc4,0x89,0xff,0xfe]
     93 
     94 # CHECK: warning: invalid instruction encoding
     95 [0x61,0x19,0xbc,0xfe]
     96 
     97 # CHECK: warning: invalid instruction encoding
     98 [0x6b,0x39,0xbd,0xfe]
     99 
    100 # CHECK: warning: invalid instruction encoding
    101 [0x42,0x09,0xbe,0xfe]
    102 
    103 # CHECK: warning: invalid instruction encoding
    104 [0x44,0x89,0xff,0xfe]
    105 
    106 # CHECK: warning: invalid instruction encoding
    107 [0xab,0x29,0x20,0xfe]
    108 
    109 # CHECK: warning: invalid instruction encoding
    110 [0x80,0x09,0x30,0xfe]
    111 
    112 # CHECK: warning: invalid instruction encoding
    113 [0x2b,0xf9,0x0e,0xfe]
    114 
    115 # CHECK: warning: invalid instruction encoding
    116 [0x07,0xa9,0x58,0xfe]
    117 
    118 # CHECK: warning: invalid instruction encoding
    119 [0x00,0x29,0xc6,0xfe]
    120 
    121 # CHECK: warning: invalid instruction encoding
    122 [0x46,0x09,0x80,0xfe]
    123 
    124 # CHECK: warning: invalid instruction encoding
    125 [0xcc,0x19,0xf6,0xee]
    126 
    127 # CHECK: warning: invalid instruction encoding
    128 [0x64,0x09,0xb6,0xee]
    129 
    130 # CHECK: warning: invalid instruction encoding
    131 [0x47,0x59,0xb7,0xee]
    132 
    133 # CHECK: warning: invalid instruction encoding
    134 [0x60,0x69,0xb8,0xfe]
    135 
    136 # CHECK: warning: invalid instruction encoding
    137 [0x60,0x69,0xb9,0xfe]
    138 
    139 # CHECK: warning: invalid instruction encoding
    140 [0x60,0x69,0xba,0xfe]
    141 
    142 # CHECK: warning: invalid instruction encoding
    143 [0x60,0x69,0xbb,0xfe]
    144 
    145 # CHECK: warning: invalid instruction encoding
    146 [0x82,0x19,0xa3,0xee]
    147 
    148 # CHECK: warning: invalid instruction encoding
    149 [0xc2,0x19,0xa3,0xee]
    150 
    151 # CHECK: warning: invalid instruction encoding
    152 [0xc2,0x19,0x93,0xee]
    153 
    154 # CHECK: warning: invalid instruction encoding
    155 [0x82,0x19,0x93,0xee]
    156 
    157 # CHECK: warning: invalid instruction encoding
    158 # CHECK: warning: invalid instruction encoding
    159 [0x62,0x1a,0xb0,0xfe]
    160 [0xe2,0x1a,0xb0,0xfe]
    161 
    162 # CHECK: warning: invalid instruction encoding
    163 # CHECK: warning: invalid instruction encoding
    164 # CHECK: warning: invalid instruction encoding
    165 # CHECK: warning: invalid instruction encoding
    166 [0x03,0x09,0xdf,0xed]
    167 [0xff,0x19,0x9f,0xed]
    168 [0xff,0x19,0x5f,0xed]
    169 [0x09,0x29,0x14,0xed]
    170 
    171 # CHECK: warning: invalid instruction encoding
    172 # CHECK: warning: invalid instruction encoding
    173 # CHECK: warning: invalid instruction encoding
    174 # CHECK: warning: invalid instruction encoding
    175 [0x03,0x09,0xcf,0xed]
    176 [0xff,0x19,0x8f,0xed]
    177 [0xff,0x19,0x4f,0xed]
    178 [0x09,0x29,0x04,0xed]
    179 
    180 # CHECK: warning: invalid instruction encoding
    181 [0x00,0x09,0xb7,0xee]
    182 
    183 # CHECK: warning: invalid instruction encoding
    184 # CHECK: warning: invalid instruction encoding
    185 [0x90,0x29,0x00,0xee]
    186 [0x10,0x39,0x12,0xee]
    187 
    188 # CHECK-NOT: warning: invalid instruction encoding
    189