]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/testsuite/gas/mips/ulh-pic.s
* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / mips / ulh-pic.s
1 # 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