Home | History | Annotate | Download | only in Hexagon
      1 # RUN: llvm-mc -triple=hexagon -disassemble < %s | FileCheck %s
      2 # Hexagon Programmer's Reference Manual 11.6 MEMOP
      3 
      4 # Operation on memory byte
      5 0x95 0xd9 0x11 0x3e
      6 # CHECK: memb(r17+#51) += r21
      7 0xb5 0xd9 0x11 0x3e
      8 # CHECK: memb(r17+#51) -= r21
      9 0xd5 0xd9 0x11 0x3e
     10 # CHECK: memb(r17+#51) &= r21
     11 0xf5 0xd9 0x11 0x3e
     12 # CHECK: memb(r17+#51) |= r21
     13 0x95 0xd9 0x11 0x3f
     14 # CHECK: memb(r17+#51) += #21
     15 0xb5 0xd9 0x11 0x3f
     16 # CHECK: memb(r17+#51) -= #21
     17 0xd5 0xd9 0x11 0x3f
     18 # CHECK: memb(r17+#51) = clrbit(#21)
     19 0xf5 0xd9 0x11 0x3f
     20 # CHECK: memb(r17+#51) = setbit(#21)
     21 
     22 # Operation on memory halfword
     23 0x95 0xd9 0x31 0x3e
     24 # CHECK: memh(r17+#102) += r21
     25 0xb5 0xd9 0x31 0x3e
     26 # CHECK: memh(r17+#102) -= r21
     27 0xd5 0xd9 0x31 0x3e
     28 # CHECK: memh(r17+#102) &= r21
     29 0xf5 0xd9 0x31 0x3e
     30 # CHECK: memh(r17+#102) |= r21
     31 0x95 0xd9 0x31 0x3f
     32 # CHECK: memh(r17+#102) += #21
     33 0xb5 0xd9 0x31 0x3f
     34 # CHECK: memh(r17+#102) -= #21
     35 0xd5 0xd9 0x31 0x3f
     36 # CHECK: memh(r17+#102) = clrbit(#21)
     37 0xf5 0xd9 0x31 0x3f
     38 # CHECK: memh(r17+#102) = setbit(#21)
     39 
     40 # Operation on memory word
     41 0x95 0xd9 0x51 0x3e
     42 # CHECK: memw(r17+#204) += r21
     43 0xb5 0xd9 0x51 0x3e
     44 # CHECK: memw(r17+#204) -= r21
     45 0xd5 0xd9 0x51 0x3e
     46 # CHECK: memw(r17+#204) &= r21
     47 0xf5 0xd9 0x51 0x3e
     48 # CHECK: memw(r17+#204) |= r21
     49 0x95 0xd9 0x51 0x3f
     50 # CHECK: memw(r17+#204) += #21
     51 0xb5 0xd9 0x51 0x3f
     52 # CHECK: memw(r17+#204) -= #21
     53 0xd5 0xd9 0x51 0x3f
     54 # CHECK: memw(r17+#204) = clrbit(#21)
     55 0xf5 0xd9 0x51 0x3f
     56 # CHECK: memw(r17+#204) = setbit(#21)
     57