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.s] - Blame information for rev 856

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

Line No. Rev Author Line
1 38 julius
# Source file used to test the ulh macro.
2
 
3
        .data
4
data_label:
5
        .extern big_external_data_label,1000
6
        .extern small_external_data_label,1
7
        .comm big_external_common,1000
8
        .comm small_external_common,1
9
        .lcomm big_local_common,1000
10
        .lcomm small_local_common,1
11
 
12
        .text
13
        ulh     $4,0
14
        ulh     $4,1
15
        ulh     $4,0x8000
16
        ulh     $4,-0x8000
17
        ulh     $4,0x10000
18
        ulh     $4,0x1a5a5
19
        ulh     $4,0($5)
20
        ulh     $4,1($5)
21
        ulh     $4,data_label
22
        ulh     $4,big_external_data_label
23
        ulh     $4,small_external_data_label
24
        ulh     $4,big_external_common
25
        ulh     $4,small_external_common
26
        ulh     $4,big_local_common
27
        ulh     $4,small_local_common
28
        ulh     $4,data_label+1
29
        ulh     $4,big_external_data_label+1
30
        ulh     $4,small_external_data_label+1
31
        ulh     $4,big_external_common+1
32
        ulh     $4,small_external_common+1
33
        ulh     $4,big_local_common+1
34
        ulh     $4,small_local_common+1
35
        ulh     $4,data_label+0x8000
36
        ulh     $4,big_external_data_label+0x8000
37
        ulh     $4,small_external_data_label+0x8000
38
        ulh     $4,big_external_common+0x8000
39
        ulh     $4,small_external_common+0x8000
40
        ulh     $4,big_local_common+0x8000
41
        ulh     $4,small_local_common+0x8000
42
        ulh     $4,data_label-0x8000
43
        ulh     $4,big_external_data_label-0x8000
44
        ulh     $4,small_external_data_label-0x8000
45
        ulh     $4,big_external_common-0x8000
46
        ulh     $4,small_external_common-0x8000
47
        ulh     $4,big_local_common-0x8000
48
        ulh     $4,small_local_common-0x8000
49
        ulh     $4,data_label+0x10000
50
        ulh     $4,big_external_data_label+0x10000
51
        ulh     $4,small_external_data_label+0x10000
52
        ulh     $4,big_external_common+0x10000
53
        ulh     $4,small_external_common+0x10000
54
        ulh     $4,big_local_common+0x10000
55
        ulh     $4,small_local_common+0x10000
56
        ulh     $4,data_label+0x1a5a5
57
        ulh     $4,big_external_data_label+0x1a5a5
58
        ulh     $4,small_external_data_label+0x1a5a5
59
        ulh     $4,big_external_common+0x1a5a5
60
        ulh     $4,small_external_common+0x1a5a5
61
        ulh     $4,big_local_common+0x1a5a5
62
        ulh     $4,small_local_common+0x1a5a5
63
 
64
# ulhu is handled like ulh.  Sanity check it.
65
        ulhu    $4,0
66
 
67
# Round to a 16 byte boundary, for ease in testing multiple targets.
68
        nop
69
        nop

powered by: WebSVN 2.1.0

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