Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / mips / usw.s
1 # Source file used to test the usw 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         usw     $4,0
14         usw     $4,1
15         usw     $4,0x8000
16         usw     $4,-0x8000
17         usw     $4,0x10000
18         usw     $4,0x1a5a5
19         usw     $4,0($5)
20         usw     $4,1($5)
21         usw     $4,data_label
22         usw     $4,big_external_data_label
23         usw     $4,small_external_data_label
24         usw     $4,big_external_common
25         usw     $4,small_external_common
26         usw     $4,big_local_common
27         usw     $4,small_local_common
28         usw     $4,data_label+1
29         usw     $4,big_external_data_label+1
30         usw     $4,small_external_data_label+1
31         usw     $4,big_external_common+1
32         usw     $4,small_external_common+1
33         usw     $4,big_local_common+1
34         usw     $4,small_local_common+1
35         usw     $4,data_label+0x8000
36         usw     $4,big_external_data_label+0x8000
37         usw     $4,small_external_data_label+0x8000
38         usw     $4,big_external_common+0x8000
39         usw     $4,small_external_common+0x8000
40         usw     $4,big_local_common+0x8000
41         usw     $4,small_local_common+0x8000
42         usw     $4,data_label-0x8000
43         usw     $4,big_external_data_label-0x8000
44         usw     $4,small_external_data_label-0x8000
45         usw     $4,big_external_common-0x8000
46         usw     $4,small_external_common-0x8000
47         usw     $4,big_local_common-0x8000
48         usw     $4,small_local_common-0x8000
49         usw     $4,data_label+0x10000
50         usw     $4,big_external_data_label+0x10000
51         usw     $4,small_external_data_label+0x10000
52         usw     $4,big_external_common+0x10000
53         usw     $4,small_external_common+0x10000
54         usw     $4,big_local_common+0x10000
55         usw     $4,small_local_common+0x10000
56         usw     $4,data_label+0x1a5a5
57         usw     $4,big_external_data_label+0x1a5a5
58         usw     $4,small_external_data_label+0x1a5a5
59         usw     $4,big_external_common+0x1a5a5
60         usw     $4,small_external_common+0x1a5a5
61         usw     $4,big_local_common+0x1a5a5
62         usw     $4,small_local_common+0x1a5a5
63
64 # Round to a 16 byte boundary, for ease in testing multiple targets.
65         nop
66         nop