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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [mips/] [sb.s] - Blame information for rev 38

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 sb 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
        sb      $4,0
14
        sb      $4,1
15
        sb      $4,0x8000
16
        sb      $4,-0x8000
17
        sb      $4,0x10000
18
        sb      $4,0x1a5a5
19
        sb      $4,0($5)
20
        sb      $4,1($5)
21
        sb      $4,0x8000($5)
22
        sb      $4,-0x8000($5)
23
        sb      $4,0x10000($5)
24
        sb      $4,0x1a5a5($5)
25
        sb      $4,data_label
26
        sb      $4,big_external_data_label
27
        sb      $4,small_external_data_label
28
        sb      $4,big_external_common
29
        sb      $4,small_external_common
30
        sb      $4,big_local_common
31
        sb      $4,small_local_common
32
        sb      $4,data_label+1
33
        sb      $4,big_external_data_label+1
34
        sb      $4,small_external_data_label+1
35
        sb      $4,big_external_common+1
36
        sb      $4,small_external_common+1
37
        sb      $4,big_local_common+1
38
        sb      $4,small_local_common+1
39
        sb      $4,data_label+0x8000
40
        sb      $4,big_external_data_label+0x8000
41
        sb      $4,small_external_data_label+0x8000
42
        sb      $4,big_external_common+0x8000
43
        sb      $4,small_external_common+0x8000
44
        sb      $4,big_local_common+0x8000
45
        sb      $4,small_local_common+0x8000
46
        sb      $4,data_label-0x8000
47
        sb      $4,big_external_data_label-0x8000
48
        sb      $4,small_external_data_label-0x8000
49
        sb      $4,big_external_common-0x8000
50
        sb      $4,small_external_common-0x8000
51
        sb      $4,big_local_common-0x8000
52
        sb      $4,small_local_common-0x8000
53
        sb      $4,data_label+0x10000
54
        sb      $4,big_external_data_label+0x10000
55
        sb      $4,small_external_data_label+0x10000
56
        sb      $4,big_external_common+0x10000
57
        sb      $4,small_external_common+0x10000
58
        sb      $4,big_local_common+0x10000
59
        sb      $4,small_local_common+0x10000
60
        sb      $4,data_label+0x1a5a5
61
        sb      $4,big_external_data_label+0x1a5a5
62
        sb      $4,small_external_data_label+0x1a5a5
63
        sb      $4,big_external_common+0x1a5a5
64
        sb      $4,small_external_common+0x1a5a5
65
        sb      $4,big_local_common+0x1a5a5
66
        sb      $4,small_local_common+0x1a5a5
67
        sb      $4,data_label($5)
68
        sb      $4,big_external_data_label($5)
69
        sb      $4,small_external_data_label($5)
70
        sb      $4,big_external_common($5)
71
        sb      $4,small_external_common($5)
72
        sb      $4,big_local_common($5)
73
        sb      $4,small_local_common($5)
74
        sb      $4,data_label+1($5)
75
        sb      $4,big_external_data_label+1($5)
76
        sb      $4,small_external_data_label+1($5)
77
        sb      $4,big_external_common+1($5)
78
        sb      $4,small_external_common+1($5)
79
        sb      $4,big_local_common+1($5)
80
        sb      $4,small_local_common+1($5)
81
        sb      $4,data_label+0x8000($5)
82
        sb      $4,big_external_data_label+0x8000($5)
83
        sb      $4,small_external_data_label+0x8000($5)
84
        sb      $4,big_external_common+0x8000($5)
85
        sb      $4,small_external_common+0x8000($5)
86
        sb      $4,big_local_common+0x8000($5)
87
        sb      $4,small_local_common+0x8000($5)
88
        sb      $4,data_label-0x8000($5)
89
        sb      $4,big_external_data_label-0x8000($5)
90
        sb      $4,small_external_data_label-0x8000($5)
91
        sb      $4,big_external_common-0x8000($5)
92
        sb      $4,small_external_common-0x8000($5)
93
        sb      $4,big_local_common-0x8000($5)
94
        sb      $4,small_local_common-0x8000($5)
95
        sb      $4,data_label+0x10000($5)
96
        sb      $4,big_external_data_label+0x10000($5)
97
        sb      $4,small_external_data_label+0x10000($5)
98
        sb      $4,big_external_common+0x10000($5)
99
        sb      $4,small_external_common+0x10000($5)
100
        sb      $4,big_local_common+0x10000($5)
101
        sb      $4,small_local_common+0x10000($5)
102
        sb      $4,data_label+0x1a5a5($5)
103
        sb      $4,big_external_data_label+0x1a5a5($5)
104
        sb      $4,small_external_data_label+0x1a5a5($5)
105
        sb      $4,big_external_common+0x1a5a5($5)
106
        sb      $4,small_external_common+0x1a5a5($5)
107
        sb      $4,big_local_common+0x1a5a5($5)
108
        sb      $4,small_local_common+0x1a5a5($5)
109
 
110
# Several macros are handled like sb.  Sanity check them.
111
        sd      $4,0
112
        sh      $4,0
113
        sw      $4,0
114
        swc0    $4,0
115
        swc1    $4,0
116
        swc2    $4,0
117
        swc3    $4,0
118
        s.s     $f4,0
119
        swl     $4,0
120
        swr     $4,0
121
 
122
# Round to a 16 byte boundary, for ease in testing multiple targets.
123
        nop
124
        nop

powered by: WebSVN 2.1.0

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