* gas/testsuite/gas/sh/pcrel.d: New test.
[external/binutils.git] / gas / testsuite / gas / sh / pcrel.d
1 #as: -big
2 #objdump: -d
3 #name: PC-relative loads
4
5 .*:     file format .*sh.*
6
7 Disassembly of section .text:
8
9 00000000 <code>:
10    0:   d1 03           mov\.l  10 <litpool>,r1 ! 0xfffffff0
11    2:   d1 03           mov\.l  10 <litpool>,r1 ! 0xfffffff0
12    4:   c7 02           mova    10 <litpool>,r0
13    6:   61 02           mov\.l  @r0,r1
14    8:   d1 01           mov\.l  10 <litpool>,r1 ! 0xfffffff0
15    a:   01 03           bsrf    r1
16    c:   00 09           nop     
17    e:   00 09           nop     
18
19 00000010 <litpool>:
20   10:   ff ff           \.word 0xffff
21   12:   ff f0           \.word 0xfff0