]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/testsuite/gas/mips/bltu.s
This commit was generated by cvs2svn to track changes on a CVS vendor
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / mips / bltu.s
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 # Branch to an external label.
26 bltu $4,$5,external_label
27 bleu $4,$5,external_label
28 bltul $4,$5,external_label
29 bleul $4,$5,external_label
30
31 # Round to a 16 byte boundary, for ease in testing multiple targets.
32 nop
33 nop