PR ld/11384
[binutils/dougsmingw.git] / gas / testsuite / gas / mips / blt.s
blob9b2ed08524f396cd7d6212d7df6073ab87f1ae6d
1 # Source file used to test the blt macro.
3 text_label:
4 blt $4,$5,text_label
5 blt $4,$0,text_label
6 blt $0,$5,text_label
7 blt $4,0,text_label
8 blt $4,1,text_label
9 blt $4,2,text_label
10 blt $4,0x8000,text_label
11 blt $4,-0x8000,text_label
12 blt $4,0x10000,text_label
13 blt $4,0x1a5a5,text_label
15 # ble is handled like blt, except when both arguments are registers.
16 # Just sanity check it otherwise.
17 ble $4,$5,text_label
18 ble $4,$0,text_label
19 ble $0,$5,text_label
20 ble $4,0,text_label
22 # Sanity test bltl and blel
23 .set mips2
24 bltl $4,$5,text_label
25 blel $4,$5,text_label
27 # Branch to an external label.
28 blt $4,$5,external_label
29 ble $4,$5,external_label
30 bltl $4,$5,external_label
31 blel $4,$5,external_label
33 # Round to a 16 byte boundary, for ease in testing multiple targets.
34 nop
35 nop
36 nop
37 nop