1c37f96939c19484be94adb1e6560c89acc49908
[platform/upstream/binutils.git] / gas / testsuite / gas / mips / bgeu.s
1 # Source file used to test the bgeu macro.
2         
3 text_label:     
4         bgeu    $4,$5,text_label
5         bgeu    $0,$5,text_label
6         # A second argument of 0 or $0 is always true
7         bgeu    $4,1,text_label
8         bgeu    $4,2,text_label
9         bgeu    $4,0x8000,text_label
10         bgeu    $4,-0x8000,text_label
11         bgeu    $4,0x10000,text_label
12         bgeu    $4,0x1a5a5,text_label
13
14 # bgtu is handled like bgeu, except when both arguments are registers.
15 # Just sanity check it otherwise.
16         bgtu    $4,$5,text_label
17         bgtu    $4,$0,text_label
18         bgtu    $4,0,text_label
19
20 # Sanity test bgeul and bgtul
21         .set    mips2
22         bgeul   $4,$5,text_label
23         bgtul   $4,$5,text_label
24
25 # Round to a 16 byte boundary, for ease in testing multiple targets.
26         nop
27         nop