| 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 | # Branch to an external label. |
| 21 | bgeu $4,$5,external_label |
| 22 | bgtu $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 |