Home | History | Annotate | Download | only in MBlaze
      1 # RUN: llvm-mc --disassemble %s -triple=mblaze-unknown-unknown | FileCheck %s
      2 
      3 ################################################################################
      4 # Branch instructions
      5 ################################################################################
      6 
      7 # CHECK:    beq     r2, r3
      8 0x9c 0x02 0x18 0x00
      9 
     10 # CHECK:    bge     r2, r3
     11 0x9c 0xa2 0x18 0x00
     12 
     13 # CHECK:    bgt     r2, r3
     14 0x9c 0x82 0x18 0x00
     15 
     16 # CHECK:    ble     r2, r3
     17 0x9c 0x62 0x18 0x00
     18 
     19 # CHECK:    blt     r2, r3
     20 0x9c 0x42 0x18 0x00
     21 
     22 # CHECK:    bne     r2, r3
     23 0x9c 0x22 0x18 0x00
     24 
     25 # CHECK:    beqd    r2, r3
     26 0x9e 0x02 0x18 0x00
     27 
     28 # CHECK:    bged    r2, r3
     29 0x9e 0xa2 0x18 0x00
     30 
     31 # CHECK:    bgtd    r2, r3
     32 0x9e 0x82 0x18 0x00
     33 
     34 # CHECK:    bled    r2, r3
     35 0x9e 0x62 0x18 0x00
     36 
     37 # CHECK:    bltd    r2, r3
     38 0x9e 0x42 0x18 0x00
     39 
     40 # CHECK:    bned    r2, r3
     41 0x9e 0x22 0x18 0x00
     42 
     43 # CHECK:    br      r3
     44 0x98 0x00 0x18 0x00
     45 
     46 # CHECK:    bra     r3
     47 0x98 0x08 0x18 0x00
     48 
     49 # CHECK:    brd     r3
     50 0x98 0x10 0x18 0x00
     51 
     52 # CHECK:    brad    r3
     53 0x98 0x18 0x18 0x00
     54 
     55 # CHECK:    brld    r15, r3
     56 0x99 0xf4 0x18 0x00
     57 
     58 # CHECK:    brald   r15, r3
     59 0x99 0xfc 0x18 0x00
     60 
     61 # CHECK:    brk     r15, r3
     62 0x99 0xec 0x18 0x00
     63 
     64 # CHECK:    beqi    r2, 0
     65 0xbc 0x02 0x00 0x00
     66 
     67 # CHECK:    bgei    r2, 0
     68 0xbc 0xa2 0x00 0x00
     69 
     70 # CHECK:    bgti    r2, 0
     71 0xbc 0x82 0x00 0x00
     72 
     73  # CHECK:   blei    r2, 0
     74 0xbc 0x62 0x00 0x00
     75 
     76 # CHECK:    blti    r2, 0
     77 0xbc 0x42 0x00 0x00
     78 
     79 # CHECK:    bnei    r2, 0
     80 0xbc 0x22 0x00 0x00
     81 
     82 # CHECK:    beqid   r2, 0
     83 0xbe 0x02 0x00 0x00
     84 
     85 # CHECK:    bgeid   r2, 0
     86 0xbe 0xa2 0x00 0x00
     87 
     88 # CHECK:    bgtid   r2, 0
     89 0xbe 0x82 0x00 0x00
     90 
     91 # CHECK:    bleid   r2, 0
     92 0xbe 0x62 0x00 0x00
     93 
     94 # CHECK:    bltid   r2, 0
     95 0xbe 0x42 0x00 0x00
     96 
     97 # CHECK:    bneid   r2, 0
     98 0xbe 0x22 0x00 0x00
     99 
    100 # CHECK:    bri     0
    101 0xb8 0x00 0x00 0x00
    102 
    103 # CHECK:    brai    0
    104 0xb8 0x08 0x00 0x00
    105 
    106 # CHECK:    brid    0
    107 0xb8 0x10 0x00 0x00
    108 
    109 # CHECK:    braid   0
    110 0xb8 0x18 0x00 0x00
    111 
    112 # CHECK:    brlid   r15, 0
    113 0xb9 0xf4 0x00 0x00
    114 
    115 # CHECK:    bralid  r15, 0
    116 0xb9 0xfc 0x00 0x00
    117 
    118 # CHECK:    brki    r15, 0
    119 0xb9 0xec 0x00 0x00
    120