Home | History | Annotate | Download | only in Sparc
      1 # RUN: llvm-mc --disassemble %s -triple=sparcv9-unknown-linux | FileCheck %s
      2 
      3 # CHECK:      ldsb [%i0+%l6], %o2
      4 0xd4 0x4e 0x00 0x16
      5 
      6 # CHECK:      ldsb [%i0+32], %o2
      7 0xd4 0x4e 0x20 0x20
      8 
      9 # CHECK:      ldsb [%g1], %o4
     10 0xd8 0x48 0x60 0x00
     11 
     12 # CHECK:      ldsb [%g1], %o4
     13 0xd8 0x48 0x40 0x00
     14 
     15 # CHECK:      ldsh [%i0+%l6], %o2
     16 0xd4 0x56 0x00 0x16
     17 
     18 # CHECK:      ldsh [%i0+32], %o2
     19 0xd4 0x56 0x20 0x20
     20 
     21 # CHECK:      ldsh [%g1], %o4
     22 0xd8 0x50 0x60 0x00
     23 
     24 # CHECK:      ldsh [%g1], %o4
     25 0xd8 0x50 0x40 0x00
     26 
     27 # CHECK:      ldub [%i0+%l6], %o2
     28 0xd4 0x0e 0x00 0x16
     29 
     30 # CHECK:      ldub [%i0+32], %o2
     31 0xd4 0x0e 0x20 0x20
     32 
     33 # CHECK:      ldub [%g1], %o2
     34 0xd4 0x08 0x60 0x00
     35 
     36 # CHECK:      ldub [%g1], %o2
     37 0xd4 0x08 0x40 0x00
     38 
     39 # CHECK:      lduh [%i0+%l6], %o2
     40 0xd4 0x16 0x00 0x16
     41 
     42 # CHECK:      lduh [%i0+32], %o2
     43 0xd4 0x16 0x20 0x20
     44 
     45 # CHECK:      lduh [%g1], %o2
     46 0xd4 0x10 0x60 0x00
     47 
     48 # CHECK:      lduh [%g1], %o2
     49 0xd4 0x10 0x40 0x00
     50 
     51 # CHECK:      ld [%i0+%l6], %o2
     52 0xd4 0x06 0x00 0x16
     53 
     54 # CHECK:      ld [%i0+32], %o2
     55 0xd4 0x06 0x20 0x20
     56 
     57 # CHECK:      ld [%g1], %o2
     58 0xd4 0x00 0x60 0x00
     59 
     60 # CHECK:      ld [%g1], %o2
     61 0xd4 0x00 0x40 0x00
     62 
     63 # CHECK:     ld [%i0+%l6], %f2
     64 0xc5 0x06 0x00 0x16
     65 
     66 # CHECK:     ld [%i0+32], %f2
     67 0xc5 0x06 0x20 0x20
     68 
     69 # CHECK:     ld [%g1], %f2
     70 0xc5 0x00 0x60 0x00
     71 
     72 # CHECK:     ld [%g1], %f2
     73 0xc5 0x00 0x40 0x00
     74 
     75 # CHECK:     ldd [%i0+%l6], %f2
     76 0xc5 0x1e 0x00 0x16
     77 
     78 # CHECK:     ldd [%i0+32], %f2
     79 0xc5 0x1e 0x20 0x20
     80 
     81 # CHECK:     ldd [%g1], %f2
     82 0xc5 0x18 0x60 0x00
     83 
     84 # CHECK:     ldd [%g1], %f2
     85 0xc5 0x18 0x40 0x00
     86 
     87 # CHECK:     ldq [%i0+%l6], %f4
     88 0xc9 0x16 0x00 0x16
     89 
     90 # CHECK:     ldq [%i0+32], %f4
     91 0xc9 0x16 0x20 0x20
     92 
     93 # CHECK:     ldq [%g1], %f4
     94 0xc9 0x10 0x60 0x00
     95 
     96 # CHECK:     ldq [%g1], %f4
     97 0xc9 0x10 0x40 0x00
     98 
     99 # CHECK:     ldx [%i0+%l6], %o2
    100 0xd4 0x5e 0x00 0x16
    101 
    102 # CHECK:     ldx [%i0+32], %o2
    103 0xd4 0x5e 0x20 0x20
    104 
    105 # CHECK:     ldx [%g1], %o2
    106 0xd4 0x58 0x60 0x00
    107 
    108 # CHECK:     ldx [%g1], %o2
    109 0xd4 0x58 0x40 0x00
    110 
    111 # CHECK:     ldsw [%i0+%l6], %o2
    112 0xd4 0x46 0x00 0x16
    113 
    114 # CHECK:     ldsw [%i0+32], %o2
    115 0xd4 0x46 0x20 0x20
    116 
    117 # CHECK:     ldsw [%g1], %o2
    118 0xd4 0x40 0x60 0x00
    119 
    120 # CHECK:     ldsw [%g1], %o2
    121 0xd4 0x40 0x40 0x00
    122 
    123 # CHECK:      stb %o2, [%i0+%l6]
    124 0xd4 0x2e 0x00 0x16
    125 
    126 # CHECK:      stb %o2, [%i0+32]
    127 0xd4 0x2e 0x20 0x20
    128 
    129 # CHECK:      stb %o2, [%g1]
    130 0xd4 0x28 0x60 0x00
    131 
    132 # CHECK:      stb %o2, [%g1]
    133 0xd4 0x28 0x40 0x00
    134 
    135 # CHECK:      sth %o2, [%i0+%l6]
    136 0xd4 0x36 0x00 0x16
    137 
    138 # CHECK:      sth %o2, [%i0+32]
    139 0xd4 0x36 0x20 0x20
    140 
    141 # CHECK:      sth %o2, [%g1]
    142 0xd4 0x30 0x60 0x00
    143 
    144 # CHECK:      sth %o2, [%g1]
    145 0xd4 0x30 0x40 0x00
    146 
    147 # CHECK:      st %o2, [%i0+%l6]
    148 0xd4 0x26 0x00 0x16
    149 
    150 # CHECK:      st %o2, [%i0+32]
    151 0xd4 0x26 0x20 0x20
    152 
    153 # CHECK:      st %o2, [%g1]
    154 0xd4 0x20 0x60 0x00
    155 
    156 # CHECK:      st %o2, [%g1]
    157 0xd4 0x20 0x40 0x00
    158 
    159 # CHECK:      st %f2, [%i0+%l6]
    160 0xc5 0x26 0x00 0x16
    161 
    162 # CHECK:      st %f2, [%i0+32]
    163 0xc5 0x26 0x20 0x20
    164 
    165 # CHECK:      st %f2, [%g1]
    166 0xc5 0x20 0x60 0x00
    167 
    168 # CHECK:      st %f2, [%g1]
    169 0xc5 0x20 0x40 0x00
    170 
    171 # CHECK:      std %f2, [%i0+%l6]
    172 0xc5 0x3e 0x00 0x16
    173 
    174 # CHECK:      std %f2, [%i0+32]
    175 0xc5 0x3e 0x20 0x20
    176 
    177 # CHECK:      std %f2, [%g1]
    178 0xc5 0x38 0x60 0x00
    179 
    180 # CHECK:      std %f2, [%g1]
    181 0xc5 0x38 0x40 0x00
    182 
    183 # CHECK:      stq %f4, [%i0+%l6]
    184 0xc9 0x36 0x00 0x16
    185 
    186 # CHECK:      stq %f4, [%i0+32]
    187 0xc9 0x36 0x20 0x20
    188 
    189 # CHECK:      stq %f4, [%g1]
    190 0xc9 0x30 0x60 0x00
    191 
    192 # CHECK:      stq %f4, [%g1]
    193 0xc9 0x30 0x40 0x00
    194 
    195 # CHECK:      stx %o2, [%i0+%l6]
    196 0xd4 0x76 0x00 0x16
    197 
    198 # CHECK:      stx %o2, [%i0+32]
    199 0xd4 0x76 0x20 0x20
    200 
    201 # CHECK:      stx %o2, [%g1]
    202 0xd4 0x70 0x60 0x00
    203 
    204 # CHECK:      stx %o2, [%g1]
    205 0xd4 0x70 0x40 0x00
    206 
    207 # CHECK:     swap [%i0+%l6], %o2
    208 0xd4 0x7e 0x00 0x16
    209 
    210 # CHECK:     swap [%i0+32], %o2
    211 0xd4 0x7e 0x20 0x20
    212 
    213 # CHECK:     swap [%g1], %o2
    214 0xd4 0x78 0x60 0x00
    215 
    216 # CHECK:     swap [%g1], %o2
    217 0xd4 0x78 0x40 0x00
    218 
    219 # CHECK:     swapa [%i0+%l6] 131, %o2
    220 0xd4 0xfe 0x10 0x76
    221 
    222 # CHECK:     swapa [%g1] 131, %o2
    223 0xd4 0xf8 0x50 0x60
    224 
    225 # CHECK:     ldd [%i0+%l6], %o2
    226 0xd4 0x1e 0x00 0x16
    227 
    228 # CHECK:     ldd [%i0+32], %o2
    229 0xd4 0x1e 0x20 0x20
    230 
    231 # CHECK:     ldd [%g1], %o2
    232 0xd4 0x18 0x60 0x00
    233 
    234 # CHECK:     ldd [%g1], %o2
    235 0xd4 0x18 0x40 0x00
    236 
    237 # CHECK:     std %o2, [%i0+%l6]
    238 0xd4 0x3e 0x00 0x16
    239 
    240 # CHECK:     std %o2, [%i0+32]
    241 0xd4 0x3e 0x20 0x20
    242 
    243 # CHECK:     std %o2, [%g1]
    244 0xd4 0x38 0x60 0x00
    245 
    246 # CHECK:     std %o2, [%g1]
    247 0xd4 0x38 0x40 0x00
    248