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/] [sh/] [sh64/] [relax-3.s] - Blame information for rev 205

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
! Check relaxation for MOVI PC-relative expansions.  Unfortunately, we
2
! can't check the 32 and 48 bit limit on a host with 32-bit longs, so we
3
! just check going from first state to the second state.
4
 
5
        .mode SHmedia
6
        .text
7
start:
8
        nop
9
start2:
10
        movi    (x0-4-$),r3
11
x1:
12
        movi    (x0-1-$),r4
13
        .space 32768-4,0
14
x0:
15
        movi    (x1-$),r5
16
        movi    (x1+3-$),r6
17
 
18
! These PC-relative expressions are here because of past bugs leading to
19
! premature symbol evaluation and assignment when they were exposed to
20
! relaxation.
21
! The expected result may need future tweaking if advances are done in
22
! relaxation.  At the time of this writing the expressions are not
23
! relaxed although the numbers will be in the right range finally.
24
 
25
        movi    (x1-x0),r7
26
        movi    (x0-1-x1),r8
27
        movi    (y1-y0),r8
28
 
29
        .section .text.another,"ax"
30
y0:
31
        movi    (x1-start2),r9
32
y1:

powered by: WebSVN 2.1.0

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