Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | # Source file used to test the bltu macro. |
2 | ||
3 | text_label: | |
4 | bltu $4,$5,text_label | |
5 | bltu $0,$5,text_label | |
6 | # A second argument of 0 or $0 is always false | |
7 | bltu $4,1,text_label | |
8 | bltu $4,2,text_label | |
9 | bltu $4,0x8000,text_label | |
10 | bltu $4,-0x8000,text_label | |
11 | bltu $4,0x10000,text_label | |
12 | bltu $4,0x1a5a5,text_label | |
13 | ||
14 | # bleu is handled like bltu, except when both arguments are registers. | |
15 | # Just sanity check it otherwise. | |
16 | bleu $4,$5,text_label | |
17 | bleu $4,$0,text_label | |
18 | bleu $4,0,text_label | |
19 | ||
20 | # Sanity test bltul and bleul | |
21 | .set mips2 | |
22 | bltul $4,$5,text_label | |
23 | bleul $4,$5,text_label | |
24 | ||
cb56d3d3 | 25 | # Branch to an external label. |
7c2be35c TS |
26 | bltu $4,$5,external_label |
27 | bleu $4,$5,external_label | |
28 | bltul $4,$5,external_label | |
29 | bleul $4,$5,external_label | |
cb56d3d3 | 30 | |
252b5132 RH |
31 | # Round to a 16 byte boundary, for ease in testing multiple targets. |
32 | nop | |
33 | nop |