OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [mips/] [bgeu.s] - Blame information for rev 832

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
# 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
# Branch to an external label.
26
        bgeu    $4,$5,external_label
27
        bgtu    $4,$5,external_label
28
        bgeul   $4,$5,external_label
29
        bgtul   $4,$5,external_label
30
 
31
# Round to a 16 byte boundary, for ease in testing multiple targets.
32
        nop
33
        nop

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.