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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [mips/] [beq.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 beq macro.
2
        .text
3
text_label:
4
        beq     $4,$5,text_label
5
        beq     $4,0,text_label
6
        beq     $4,1,text_label
7
        beq     $4,0x8000,text_label
8
        beq     $4,-0x8000,text_label
9
        beq     $4,0x10000,text_label
10
        beq     $4,0x1a5a5,text_label
11
 
12
# bne is handled by the same code as beq.  Just sanity check.
13
        bne     $4,0,text_label
14
 
15
# Sanity check beql and bnel
16
        .set    mips2
17
        beql    $4,0,text_label
18
        bnel    $4,0,text_label
19
 
20
# Test that branches which overflow are converted to jumps.
21
        .space  0x20000
22
        b       text_label
23
        bal     text_label
24
 
25
# Branch to an external label.
26
#       b       external_label
27
#       bal     external_label
28
 
29
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
30
        .space  8

powered by: WebSVN 2.1.0

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