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/] [relax-swap2.s] - Blame information for rev 304

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

Line No. Rev Author Line
1 205 julius
# Source file used to test branch likely relaxation with swapping.
2
 
3
        .text
4
foo:
5
 
6
        move    $2, $4
7
        beql    $2, $3, foo
8
        move    $2, $4
9
        beql    $2, $3, bar
10
        move    $2, $4
11
        beql    $4, $5, foo
12
        move    $2, $4
13
        beql    $4, $5, bar
14
 
15
        addiu   $2, $4, 1
16
        beql    $2, $3, foo
17
        addiu   $2, $4, 1
18
        beql    $2, $3, bar
19
        addiu   $2, $4, 1
20
        beql    $4, $5, foo
21
        addiu   $2, $4, 1
22
        beql    $4, $5, bar
23
 
24
        lw      $2, ($4)
25
        beql    $2, $3, foo
26
        lw      $2, ($4)
27
        beql    $2, $3, bar
28
        lw      $2, ($4)
29
        beql    $4, $5, foo
30
        lw      $2, ($4)
31
        beql    $4, $5, bar
32
 
33
        sw      $2, ($4)
34
        beql    $2, $3, foo
35
        sw      $2, ($4)
36
        beql    $2, $3, bar
37
        sw      $2, ($4)
38
        beql    $4, $5, foo
39
        sw      $2, ($4)
40
        beql    $4, $5, bar
41
 
42
        teq     $2, $4
43
        beq     $4, $5, foo
44
        teq     $2, $4
45
        beq     $4, $5, bar
46
 
47
        .space  0x20000         # to make a 128kb loop body
48
bar:
49
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
50
        .space  8

powered by: WebSVN 2.1.0

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