• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-mc --disassemble %s -triple=mblaze-unknown-unknown | FileCheck %s
2
3################################################################################
4# Branch instructions
5################################################################################
6
7# CHECK:    beq     r2, r3
80x9c 0x02 0x18 0x00
9
10# CHECK:    bge     r2, r3
110x9c 0xa2 0x18 0x00
12
13# CHECK:    bgt     r2, r3
140x9c 0x82 0x18 0x00
15
16# CHECK:    ble     r2, r3
170x9c 0x62 0x18 0x00
18
19# CHECK:    blt     r2, r3
200x9c 0x42 0x18 0x00
21
22# CHECK:    bne     r2, r3
230x9c 0x22 0x18 0x00
24
25# CHECK:    beqd    r2, r3
260x9e 0x02 0x18 0x00
27
28# CHECK:    bged    r2, r3
290x9e 0xa2 0x18 0x00
30
31# CHECK:    bgtd    r2, r3
320x9e 0x82 0x18 0x00
33
34# CHECK:    bled    r2, r3
350x9e 0x62 0x18 0x00
36
37# CHECK:    bltd    r2, r3
380x9e 0x42 0x18 0x00
39
40# CHECK:    bned    r2, r3
410x9e 0x22 0x18 0x00
42
43# CHECK:    br      r3
440x98 0x00 0x18 0x00
45
46# CHECK:    bra     r3
470x98 0x08 0x18 0x00
48
49# CHECK:    brd     r3
500x98 0x10 0x18 0x00
51
52# CHECK:    brad    r3
530x98 0x18 0x18 0x00
54
55# CHECK:    brld    r15, r3
560x99 0xf4 0x18 0x00
57
58# CHECK:    brald   r15, r3
590x99 0xfc 0x18 0x00
60
61# CHECK:    brk     r15, r3
620x99 0xec 0x18 0x00
63
64# CHECK:    beqi    r2, 0
650xbc 0x02 0x00 0x00
66
67# CHECK:    bgei    r2, 0
680xbc 0xa2 0x00 0x00
69
70# CHECK:    bgti    r2, 0
710xbc 0x82 0x00 0x00
72
73 # CHECK:   blei    r2, 0
740xbc 0x62 0x00 0x00
75
76# CHECK:    blti    r2, 0
770xbc 0x42 0x00 0x00
78
79# CHECK:    bnei    r2, 0
800xbc 0x22 0x00 0x00
81
82# CHECK:    beqid   r2, 0
830xbe 0x02 0x00 0x00
84
85# CHECK:    bgeid   r2, 0
860xbe 0xa2 0x00 0x00
87
88# CHECK:    bgtid   r2, 0
890xbe 0x82 0x00 0x00
90
91# CHECK:    bleid   r2, 0
920xbe 0x62 0x00 0x00
93
94# CHECK:    bltid   r2, 0
950xbe 0x42 0x00 0x00
96
97# CHECK:    bneid   r2, 0
980xbe 0x22 0x00 0x00
99
100# CHECK:    bri     0
1010xb8 0x00 0x00 0x00
102
103# CHECK:    brai    0
1040xb8 0x08 0x00 0x00
105
106# CHECK:    brid    0
1070xb8 0x10 0x00 0x00
108
109# CHECK:    braid   0
1100xb8 0x18 0x00 0x00
111
112# CHECK:    brlid   r15, 0
1130xb9 0xf4 0x00 0x00
114
115# CHECK:    bralid  r15, 0
1160xb9 0xfc 0x00 0x00
117
118# CHECK:    brki    r15, 0
1190xb9 0xec 0x00 0x00
120