OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [mips/] [bge.s] - Blame information for rev 205

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
# Source file used to test the bge macro.
2
 
3
text_label:
4
        bge     $4,$5,text_label
5
        bge     $4,$0,text_label
6
        bge     $0,$5,text_label
7
        bge     $4,0,text_label
8
        bge     $4,1,text_label
9
        bge     $4,2,text_label
10
        bge     $4,0x8000,text_label
11
        bge     $4,-0x8000,text_label
12
        bge     $4,0x10000,text_label
13
        bge     $4,0x1a5a5,text_label
14
 
15
# bgt is handled like bge, except when both arguments are registers.
16
# Just sanity check it otherwise.
17
        bgt     $4,$5,text_label
18
        bgt     $4,$0,text_label
19
        bgt     $0,$5,text_label
20
        bgt     $4,0,text_label
21
 
22
# Sanity test bgel and bgtl
23
        .set    mips2
24
        bgel    $4,$5,text_label
25
        bgtl    $4,$5,text_label
26
 
27
# Branch to an external label.
28
        bge     $4,$5,external_label
29
        bgt     $4,$5,external_label
30
        bgel    $4,$5,external_label
31
        bgtl    $4,$5,external_label
32
 
33
# Round to a 16 byte boundary, for ease in testing multiple targets.
34
        nop
35
        nop
36
        nop
37
        nop

powered by: WebSVN 2.1.0

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