Home | History | Annotate | Download | only in PowerPC
      1 # RUN: llvm-mc --disassemble %s -triple powerpc64-bgq-linux -mcpu=a2q | FileCheck %s
      2 
      3 # CHECK: qvfabs 3, 5
      4 0x10 0x60 0x2a 0x10
      5 
      6 # CHECK: qvfadd 3, 4, 5
      7 0x10 0x64 0x28 0x2a
      8 
      9 # CHECK: qvfadds 3, 4, 5
     10 0x00 0x64 0x28 0x2a
     11 
     12 # CHECK: qvfandc 3, 4, 5
     13 0x10 0x64 0x2a 0x08
     14 
     15 # CHECK: qvfand 3, 4, 5
     16 0x10 0x64 0x28 0x88
     17 
     18 # CHECK: qvfcfid 3, 5
     19 0x10 0x60 0x2e 0x9c
     20 
     21 # CHECK: qvfcfids 3, 5
     22 0x00 0x60 0x2e 0x9c
     23 
     24 # CHECK: qvfcfidu 3, 5
     25 0x10 0x60 0x2f 0x9c
     26 
     27 # CHECK: qvfcfidus 3, 5
     28 0x00 0x60 0x2f 0x9c
     29 
     30 # CHECK: qvfclr 3
     31 0x10 0x63 0x18 0x08
     32 
     33 # CHECK: qvfcpsgn 3, 4, 5
     34 0x10 0x64 0x28 0x10
     35 
     36 # CHECK: qvfctfb 3, 4
     37 0x10 0x64 0x22 0x88
     38 
     39 # CHECK: qvfctid 3, 5
     40 0x10 0x60 0x2e 0x5c
     41 
     42 # CHECK: qvfctidu 3, 5
     43 0x10 0x60 0x2f 0x5c
     44 
     45 # CHECK: qvfctiduz 3, 5
     46 0x10 0x60 0x2f 0x5e
     47 
     48 # CHECK: qvfctidz 3, 5
     49 0x10 0x60 0x2e 0x5e
     50 
     51 # CHECK: qvfctiw 3, 5
     52 0x10 0x60 0x28 0x1c
     53 
     54 # CHECK: qvfctiwu 3, 5
     55 0x10 0x60 0x29 0x1c
     56 
     57 # CHECK: qvfctiwuz 3, 5
     58 0x10 0x60 0x29 0x1e
     59 
     60 # CHECK: qvfctiwz 3, 5
     61 0x10 0x60 0x28 0x1e
     62 
     63 # CHECK: qvfequ 3, 4, 5
     64 0x10 0x64 0x2c 0x88
     65 
     66 # CHECK: qvflogical 3, 4, 5, 12
     67 0x10 0x64 0x2e 0x08
     68 
     69 # CHECK: qvfmadd 3, 4, 6, 5
     70 0x10 0x64 0x29 0xba
     71 
     72 # CHECK: qvfmadds 3, 4, 6, 5
     73 0x00 0x64 0x29 0xba
     74 
     75 # CHECK: qvfmr 3, 5
     76 0x10 0x60 0x28 0x90
     77 
     78 # CHECK: qvfmsub 3, 4, 6, 5
     79 0x10 0x64 0x29 0xb8
     80 
     81 # CHECK: qvfmsubs 3, 4, 6, 5
     82 0x00 0x64 0x29 0xb8
     83 
     84 # CHECK: qvfmul 3, 4, 6
     85 0x10 0x64 0x01 0xb2
     86 
     87 # CHECK: qvfmuls 3, 4, 6
     88 0x00 0x64 0x01 0xb2
     89 
     90 # CHECK: qvfnabs 3, 5
     91 0x10 0x60 0x29 0x10
     92 
     93 # CHECK: qvfnand 3, 4, 5
     94 0x10 0x64 0x2f 0x08
     95 
     96 # CHECK: qvfneg 3, 5
     97 0x10 0x60 0x28 0x50
     98 
     99 # CHECK: qvfnmadd 3, 4, 6, 5
    100 0x10 0x64 0x29 0xbe
    101 
    102 # CHECK: qvfnmadds 3, 4, 6, 5
    103 0x00 0x64 0x29 0xbe
    104 
    105 # CHECK: qvfnmsub 3, 4, 6, 5
    106 0x10 0x64 0x29 0xbc
    107 
    108 # CHECK: qvfnmsubs 3, 4, 6, 5
    109 0x00 0x64 0x29 0xbc
    110 
    111 # CHECK: qvfnor 3, 4, 5
    112 0x10 0x64 0x2c 0x08
    113 
    114 # CHECK: qvfnot 3, 4
    115 0x10 0x64 0x25 0x08
    116 
    117 # CHECK: qvforc 3, 4, 5
    118 0x10 0x64 0x2e 0x88
    119 
    120 # CHECK: qvfor 3, 4, 5
    121 0x10 0x64 0x2b 0x88
    122 
    123 # CHECK: qvfperm 3, 4, 5, 6
    124 0x10 0x64 0x29 0x8c
    125 
    126 # CHECK: qvfre 3, 5
    127 0x10 0x60 0x28 0x30
    128 
    129 # CHECK: qvfres 3, 5
    130 0x00 0x60 0x28 0x30
    131 
    132 # CHECK: qvfrim 3, 5
    133 0x10 0x60 0x2b 0xd0
    134 
    135 # CHECK: qvfrin 3, 5
    136 0x10 0x60 0x2b 0x10
    137 
    138 # CHECK: qvfrip 3, 5
    139 0x10 0x60 0x2b 0x90
    140 
    141 # CHECK: qvfriz 3, 5
    142 0x10 0x60 0x2b 0x50
    143 
    144 # CHECK: qvfrsp 3, 5
    145 0x10 0x60 0x28 0x18
    146 
    147 # CHECK: qvfrsqrte 3, 5
    148 0x10 0x60 0x28 0x34
    149 
    150 # CHECK: qvfrsqrtes 3, 5
    151 0x00 0x60 0x28 0x34
    152 
    153 # CHECK: qvfsel 3, 4, 6, 5
    154 0x10 0x64 0x29 0xae
    155 
    156 # CHECK: qvfset 3
    157 0x10 0x63 0x1f 0x88
    158 
    159 # CHECK: qvfsub 3, 4, 5
    160 0x10 0x64 0x28 0x28
    161 
    162 # CHECK: qvfsubs 3, 4, 5
    163 0x00 0x64 0x28 0x28
    164 
    165 # CHECK: qvfxmadd 3, 4, 6, 5
    166 0x10 0x64 0x29 0x92
    167 
    168 # CHECK: qvfxmadds 3, 4, 6, 5
    169 0x00 0x64 0x29 0x92
    170 
    171 # CHECK: qvfxmul 3, 4, 6
    172 0x10 0x64 0x01 0xa2
    173 
    174 # CHECK: qvfxmuls 3, 4, 6
    175 0x00 0x64 0x01 0xa2
    176 
    177 # CHECK: qvfxor 3, 4, 5
    178 0x10 0x64 0x2b 0x08
    179 
    180 # CHECK: qvfxxcpnmadd 3, 4, 6, 5
    181 0x10 0x64 0x29 0x86
    182 
    183 # CHECK: qvfxxcpnmadds 3, 4, 6, 5
    184 0x00 0x64 0x29 0x86
    185 
    186 # CHECK: qvfxxmadd 3, 4, 6, 5
    187 0x10 0x64 0x29 0x82
    188 
    189 # CHECK: qvfxxmadds 3, 4, 6, 5
    190 0x00 0x64 0x29 0x82
    191 
    192 # CHECK: qvfxxnpmadd 3, 4, 6, 5
    193 0x10 0x64 0x29 0x96
    194 
    195 # CHECK: qvfxxnpmadds 3, 4, 6, 5
    196 0x00 0x64 0x29 0x96
    197 
    198 # CHECK: qvlfcduxa 3, 9, 11
    199 0x7c 0x69 0x58 0xcf
    200 
    201 # CHECK: qvlfcdux 3, 9, 11
    202 0x7c 0x69 0x58 0xce
    203 
    204 # CHECK: qvlfcdxa 3, 10, 11
    205 0x7c 0x6a 0x58 0x8f
    206 
    207 # CHECK: qvlfcdx 3, 10, 11
    208 0x7c 0x6a 0x58 0x8e
    209 
    210 # CHECK: qvlfcsuxa 3, 9, 11
    211 0x7c 0x69 0x58 0x4f
    212 
    213 # CHECK: qvlfcsux 3, 9, 11
    214 0x7c 0x69 0x58 0x4e
    215 
    216 # CHECK: qvlfcsxa 3, 10, 11
    217 0x7c 0x6a 0x58 0x0f
    218 
    219 # CHECK: qvlfcsx 3, 10, 11
    220 0x7c 0x6a 0x58 0x0e
    221 
    222 # CHECK: qvlfduxa 3, 9, 11
    223 0x7c 0x69 0x5c 0xcf
    224 
    225 # CHECK: qvlfdux 3, 9, 11
    226 0x7c 0x69 0x5c 0xce
    227 
    228 # CHECK: qvlfdxa 3, 10, 11
    229 0x7c 0x6a 0x5c 0x8f
    230 
    231 # CHECK: qvlfdx 3, 10, 11
    232 0x7c 0x6a 0x5c 0x8e
    233 
    234 # CHECK: qvlfiwaxa 3, 10, 11
    235 0x7c 0x6a 0x5e 0xcf
    236 
    237 # CHECK: qvlfiwax 3, 10, 11
    238 0x7c 0x6a 0x5e 0xce
    239 
    240 # CHECK: qvlfiwzxa 3, 10, 11
    241 0x7c 0x6a 0x5e 0x8f
    242 
    243 # CHECK: qvlfiwzx 3, 10, 11
    244 0x7c 0x6a 0x5e 0x8e
    245 
    246 # CHECK: qvlfsuxa 3, 9, 11
    247 0x7c 0x69 0x5c 0x4f
    248 
    249 # CHECK: qvlfsux 3, 9, 11
    250 0x7c 0x69 0x5c 0x4e
    251 
    252 # CHECK: qvlfsxa 3, 10, 11
    253 0x7c 0x6a 0x5c 0x0f
    254 
    255 # CHECK: qvlfsx 3, 10, 11
    256 0x7c 0x6a 0x5c 0x0e
    257 
    258 # CHECK: qvlpcldx 3, 10, 11
    259 0x7c 0x6a 0x5c 0x8c
    260 
    261 # CHECK: qvlpclsx 3, 10, 11
    262 0x7c 0x6a 0x5c 0x0c
    263 
    264 # CHECK: qvlpcrdx 3, 10, 11
    265 0x7c 0x6a 0x58 0x8c
    266 
    267 # CHECK: qvlpcrsx 3, 10, 11
    268 0x7c 0x6a 0x58 0x0c
    269 
    270 # CHECK: qvstfcduxa 2, 9, 11
    271 0x7c 0x49 0x59 0xcf
    272 
    273 # CHECK: qvstfcduxia 2, 9, 11
    274 0x7c 0x49 0x59 0xcb
    275 
    276 # CHECK: qvstfcduxi 2, 9, 11
    277 0x7c 0x49 0x59 0xca
    278 
    279 # CHECK: qvstfcdux 2, 9, 11
    280 0x7c 0x49 0x59 0xce
    281 
    282 # CHECK: qvstfcdxa 2, 10, 11
    283 0x7c 0x4a 0x59 0x8f
    284 
    285 # CHECK: qvstfcdxia 2, 10, 11
    286 0x7c 0x4a 0x59 0x8b
    287 
    288 # CHECK: qvstfcdxi 2, 10, 11
    289 0x7c 0x4a 0x59 0x8a
    290 
    291 # CHECK: qvstfcdx 2, 10, 11
    292 0x7c 0x4a 0x59 0x8e
    293 
    294 # CHECK: qvstfcsuxa 2, 9, 11
    295 0x7c 0x49 0x59 0x4f
    296 
    297 # CHECK: qvstfcsuxia 2, 9, 11
    298 0x7c 0x49 0x59 0x4b
    299 
    300 # CHECK: qvstfcsuxi 2, 9, 11
    301 0x7c 0x49 0x59 0x4a
    302 
    303 # CHECK: qvstfcsux 2, 9, 11
    304 0x7c 0x49 0x59 0x4e
    305 
    306 # CHECK: qvstfcsxa 2, 10, 11
    307 0x7c 0x4a 0x59 0x0f
    308 
    309 # CHECK: qvstfcsxia 2, 10, 11
    310 0x7c 0x4a 0x59 0x0b
    311 
    312 # CHECK: qvstfcsxi 2, 10, 11
    313 0x7c 0x4a 0x59 0x0a
    314 
    315 # CHECK: qvstfcsx 2, 10, 11
    316 0x7c 0x4a 0x59 0x0e
    317 
    318 # CHECK: qvstfduxa 2, 9, 11
    319 0x7c 0x49 0x5d 0xcf
    320 
    321 # CHECK: qvstfduxia 2, 9, 11
    322 0x7c 0x49 0x5d 0xcb
    323 
    324 # CHECK: qvstfduxi 2, 9, 11
    325 0x7c 0x49 0x5d 0xca
    326 
    327 # CHECK: qvstfdux 2, 9, 11
    328 0x7c 0x49 0x5d 0xce
    329 
    330 # CHECK: qvstfdxa 2, 10, 11
    331 0x7c 0x4a 0x5d 0x8f
    332 
    333 # CHECK: qvstfdxia 2, 10, 11
    334 0x7c 0x4a 0x5d 0x8b
    335 
    336 # CHECK: qvstfdxi 2, 10, 11
    337 0x7c 0x4a 0x5d 0x8a
    338 
    339 # CHECK: qvstfdx 2, 10, 11
    340 0x7c 0x4a 0x5d 0x8e
    341 
    342 # CHECK: qvstfiwxa 2, 10, 11
    343 0x7c 0x4a 0x5f 0x8f
    344 
    345 # CHECK: qvstfiwx 2, 10, 11
    346 0x7c 0x4a 0x5f 0x8e
    347 
    348 # CHECK: qvstfsuxa 2, 9, 11
    349 0x7c 0x49 0x5d 0x4f
    350 
    351 # CHECK: qvstfsuxia 2, 9, 11
    352 0x7c 0x49 0x5d 0x4b
    353 
    354 # CHECK: qvstfsuxi 2, 9, 11
    355 0x7c 0x49 0x5d 0x4a
    356 
    357 # CHECK: qvstfsux 2, 9, 11
    358 0x7c 0x49 0x5d 0x4e
    359 
    360 # CHECK: qvstfsxa 2, 10, 11
    361 0x7c 0x4a 0x5d 0x0f
    362 
    363 # CHECK: qvstfsxia 2, 10, 11
    364 0x7c 0x4a 0x5d 0x0b
    365 
    366 # CHECK: qvstfsxi 2, 10, 11
    367 0x7c 0x4a 0x5d 0x0a
    368 
    369 # CHECK: qvstfsx 2, 10, 11
    370 0x7c 0x4a 0x5d 0x0e
    371 
    372