]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/testsuite/gas/mips/bltu.s
bfd/
[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 # Branch to an external label.
21 bltu $4,$5,external_label
22 bleu $4,$5,external_label
23
24 # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
25 .align 2
26 .space 8