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 | ||
25 | # Round to a 16 byte boundary, for ease in testing multiple targets. | |
26 | nop | |
27 | nop |