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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [mips/] [ulh-pic.s] - Blame information for rev 830

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

Line No. Rev Author Line
1 38 julius
# Test unaligned load and store macros with PIC code.  We don't bother
2
# to test most cases.  The actual loads and stores are tested by the
3
# non-PIC test case.  We just want to check that the initial address
4
# is loaded correctly.
5
 
6
        .data
7
data_label:
8
        .extern big_external_data_label,1000
9
        .extern small_external_data_label,1
10
        .comm big_external_common,1000
11
        .comm small_external_common,1
12
        .lcomm big_local_common,1000
13
        .lcomm small_local_common,1
14
 
15
        .text
16
        ulh     $4,data_label
17
        ulhu    $4,big_external_data_label
18
        ulw     $4,small_external_data_label
19
        ush     $4,big_external_common
20
        usw     $4,small_external_common
21
        ulh     $4,big_local_common
22
        ulhu    $4,small_local_common
23
        ulw     $4,data_label+1
24
        ush     $4,big_external_data_label+1
25
        usw     $4,small_external_data_label+1
26
        ulh     $4,big_external_common+1
27
        ulhu    $4,small_external_common+1
28
        ulw     $4,big_local_common+1
29
        ush     $4,small_local_common+1
30
 
31
# Round to a 16 byte boundary, for ease in testing multiple targets.
32
        nop
33
        .ifndef XGOT
34
        nop
35
        nop
36
        .endif

powered by: WebSVN 2.1.0

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