Home | History | Annotate | Download | only in MBlaze
      1 # RUN: llvm-mc --disassemble %s -triple=mblaze-unknown-unknown | FileCheck %s
      2 
      3 ################################################################################
      4 # Operands disassembly
      5 ################################################################################
      6 
      7 # CHECK:    add     r0, r0, r0
      8 0x00 0x00 0x00 0x00
      9 
     10 # CHECK:    add     r1, r1, r1
     11 0x00 0x21 0x08 0x00
     12 
     13 # CHECK:    add     r2, r2, r2
     14 0x00 0x42 0x10 0x00
     15 
     16 # CHECK:    add     r3, r3, r3
     17 0x00 0x63 0x18 0x00
     18 
     19 # CHECK:    add     r4, r4, r4
     20 0x00 0x84 0x20 0x00
     21 
     22 # CHECK:    add     r5, r5, r5
     23 0x00 0xa5 0x28 0x00
     24 
     25 # CHECK:    add     r6, r6, r6
     26 0x00 0xc6 0x30 0x00
     27 
     28 # CHECK:    add     r7, r7, r7
     29 0x00 0xe7 0x38 0x00
     30 
     31 # CHECK:    add     r8, r8, r8
     32 0x01 0x08 0x40 0x00
     33 
     34 # CHECK:    add     r9, r9, r9
     35 0x01 0x29 0x48 0x00
     36 
     37 # CHECK:    add     r10, r10, r10
     38 0x01 0x4a 0x50 0x00
     39 
     40 # CHECK:    add     r11, r11, r11
     41 0x01 0x6b 0x58 0x00
     42 
     43 # CHECK:    add     r12, r12, r12
     44 0x01 0x8c 0x60 0x00
     45 
     46 # CHECK:    add     r13, r13, r13
     47 0x01 0xad 0x68 0x00
     48 
     49 # CHECK:    add     r14, r14, r14
     50 0x01 0xce 0x70 0x00
     51 
     52 # CHECK:    add     r15, r15, r15
     53 0x01 0xef 0x78 0x00
     54 
     55 # CHECK:    add     r16, r16, r16
     56 0x02 0x10 0x80 0x00
     57 
     58 # CHECK:    add     r17, r17, r17
     59 0x02 0x31 0x88 0x00
     60 
     61 # CHECK:    add     r18, r18, r18
     62 0x02 0x52 0x90 0x00
     63 
     64 # CHECK:    add     r19, r19, r19
     65 0x02 0x73 0x98 0x00
     66 
     67 # CHECK:    add     r20, r20, r20
     68 0x02 0x94 0xa0 0x00
     69 
     70 # CHECK:    add     r21, r21, r21
     71 0x02 0xb5 0xa8 0x00
     72 
     73 # CHECK:    add     r22, r22, r22
     74 0x02 0xd6 0xb0 0x00
     75 
     76 # CHECK:    add     r23, r23, r23
     77 0x02 0xf7 0xb8 0x00
     78 
     79 # CHECK:    add     r24, r24, r24
     80 0x03 0x18 0xc0 0x00
     81 
     82 # CHECK:    add     r25, r25, r25
     83 0x03 0x39 0xc8 0x00
     84 
     85 # CHECK:    add     r26, r26, r26
     86 0x03 0x5a 0xd0 0x00
     87 
     88 # CHECK:    add     r27, r27, r27
     89 0x03 0x7b 0xd8 0x00
     90 
     91 # CHECK:    add     r28, r28, r28
     92 0x03 0x9c 0xe0 0x00
     93 
     94 # CHECK:    add     r29, r29, r29
     95 0x03 0xbd 0xe8 0x00
     96 
     97 # CHECK:    add     r30, r30, r30
     98 0x03 0xde 0xf0 0x00
     99 
    100 # CHECK:    add     r31, r31, r31
    101 0x03 0xff 0xf8 0x00
    102 
    103 # CHECK:    addi    r0, r0, 0
    104 0x20 0x00 0x00 0x00
    105 
    106 # CHECK:    addi    r0, r0, 1
    107 0x20 0x00 0x00 0x01
    108 
    109 # CHECK:    addi    r0, r0, 2
    110 0x20 0x00 0x00 0x02
    111 
    112 # CHECK:    addi    r0, r0, 4
    113 0x20 0x00 0x00 0x04
    114 
    115 # CHECK:    addi    r0, r0, 8
    116 0x20 0x00 0x00 0x08
    117 
    118 # CHECK:    addi    r0, r0, 16
    119 0x20 0x00 0x00 0x10
    120 
    121 # CHECK:    addi    r0, r0, 32
    122 0x20 0x00 0x00 0x20
    123 
    124 # CHECK:    addi    r0, r0, 64
    125 0x20 0x00 0x00 0x40
    126 
    127 # CHECK:    addi    r0, r0, 128
    128 0x20 0x00 0x00 0x80
    129 
    130 # CHECK:    addi    r0, r0, 256
    131 0x20 0x00 0x01 0x00
    132 
    133 # CHECK:    addi    r0, r0, 512
    134 0x20 0x00 0x02 0x00
    135 
    136 # CHECK:    addi    r0, r0, 1024
    137 0x20 0x00 0x04 0x00
    138 
    139 # CHECK:    addi    r0, r0, 2048
    140 0x20 0x00 0x08 0x00
    141 
    142 # CHECK:    addi    r0, r0, 4096
    143 0x20 0x00 0x10 0x00
    144 
    145 # CHECK:    addi    r0, r0, 8192
    146 0x20 0x00 0x20 0x00
    147 
    148 # CHECK:    addi    r0, r0, 16384
    149 0x20 0x00 0x40 0x00
    150 
    151 # CHECK:    addi    r0, r0, -1
    152 0x20 0x00 0xff 0xff
    153 
    154 # CHECK:    addi    r0, r0, -2
    155 0x20 0x00 0xff 0xfe
    156 
    157 # CHECK:    addi    r0, r0, -4
    158 0x20 0x00 0xff 0xfc
    159 
    160 # CHECK:    addi    r0, r0, -8
    161 0x20 0x00 0xff 0xf8
    162 
    163 # CHECK:    addi    r0, r0, -16
    164 0x20 0x00 0xff 0xf0
    165 
    166 # CHECK:    addi    r0, r0, -32
    167 0x20 0x00 0xff 0xe0
    168 
    169 # CHECK:    addi    r0, r0, -64
    170 0x20 0x00 0xff 0xc0
    171 
    172 # CHECK:    addi    r0, r0, -128
    173 0x20 0x00 0xff 0x80
    174 
    175 # CHECK:    addi    r0, r0, -256
    176 0x20 0x00 0xff 0x00
    177 
    178 # CHECK:    addi    r0, r0, -512
    179 0x20 0x00 0xfe 0x00
    180 
    181 # CHECK:    addi    r0, r0, -1024
    182 0x20 0x00 0xfc 0x00
    183 
    184 # CHECK:    addi    r0, r0, -2048
    185 0x20 0x00 0xf8 0x00
    186 
    187 # CHECK:    addi    r0, r0, -4096
    188 0x20 0x00 0xf0 0x00
    189 
    190 # CHECK:    addi    r0, r0, -8192
    191 0x20 0x00 0xe0 0x00
    192 
    193 # CHECK:    addi    r0, r0, -16384
    194 0x20 0x00 0xc0 0x00
    195 
    196 # CHECK:    addi    r0, r0, -32768
    197 0x20 0x00 0x80 0x00
    198