* elf32-h8300 (h8_relax_section): Add new relaxation of mov
[deliverable/binutils-gdb.git] / ld / testsuite / ld-h8300 / relax-7.d
1 # name: H8300 Relaxation Test 7
2 # source: relax-7?.s
3 # ld: --relax -m h8300self
4 # objdump: -d -s --no-show-raw-insn
5
6 .*: file format .*-h8300
7
8 Contents of section .text:
9 0100 1a801aa2 7a01ffff 80000100 6f2201d0 [^\000]*
10 0110 59206e0a ff016e8a ff016e1a 00016e9a [^\000]*
11 0120 00015470 6f02fff2 6f82fff2 6f120002 [^\000]*
12 0130 6f920002 54700100 6f028004 01006f82 [^\000]*
13 0140 80040100 6f120004 01006f92 00045470 [^\000]*
14 0150 7a000100 78006b01 fff25470 78006a2a [^\000]*
15 0160 ffff7ff1 78006aaa ffff7ff1 78106a2a [^\000]*
16 0170 00008000 78106aaa 00008000 54707800 [^\000]*
17 0180 6b22ffff 7ffa7800 6ba2ffff 7ffa7810 [^\000]*
18 0190 6b220000 80007810 6ba20000 80005470 [^\000]*
19 01a0 01007800 6b2200ff ff040100 78806ba2 [^\000]*
20 01b0 00ffff04 01007810 6b220000 80000100 [^\000]*
21 01c0 78906ba2 00008000 5470 [^\000]*
22 Contents of section .rodata:
23 01cc 00000112 00000124 00000136 0000015c [^\000]*
24 01dc 0000017e 000001a0 00000150 01007800 [^\000]*
25 01ec 6b200000 01e80000 [^\000]*
26
27 Disassembly of section .text:
28
29 00000100 <_start>:
30 100: sub.l er0,er0
31 102: sub.l er2,er2
32 104: mov.l #0xffff8000,er1
33 10a: mov.l @\(0x1d0:16,er2\),er2
34 110: jmp @er2
35
36 00000112 <.L20>:
37 112: mov.b @\(0xff01:16,er0\),r2l
38 116: mov.b r2l,@\(0xff01:16,er0\)
39 11a: mov.b @\(0x1:16,er1\),r2l
40 11e: mov.b r2l,@\(0x1:16,er1\)
41 122: rts[\t]*
42
43 00000124 <.L21>:
44 124: mov.w @\(0xfff2:16,er0\),r2
45 128: mov.w r2,@\(0xfff2:16,er0\)
46 12c: mov.w @\(0x2:16,er1\),r2
47 130: mov.w r2,@\(0x2:16,er1\)
48 134: rts[\t]*
49
50 00000136 <.L22>:
51 136: mov.l @\(0x8004:16,er0\),er2
52 13c: mov.l er2,@\(0x8004:16,er0\)
53 142: mov.l @\(0x4:16,er1\),er2
54 148: mov.l er2,@\(0x4:16,er1\)
55 14e: rts[\t]*
56
57 00000150 <.L100Relax>:
58 150: mov.l #0x1007800,er0
59 156: mov.w @0xfff2:16,r1
60 15a: rts[\t]*
61
62 0000015c <.L30noRelax>:
63 15c: mov.b @\(0xffff7ff1:32,er0\),r2l
64 164: mov.b r2l,@\(0xffff7ff1:32,er0\)
65 16c: mov.b @\(0x8000:32,er1\),r2l
66 174: mov.b r2l,@\(0x8000:32,er1\)
67 17c: rts[\t]*
68
69 0000017e <.L31noRelax>:
70 17e: mov.w @\(0xffff7ffa:32,er0\),r2
71 186: mov.w r2,@\(0xffff7ffa:32,er0\)
72 18e: mov.w @\(0x8000:32,er1\),r2
73 196: mov.w r2,@\(0x8000:32,er1\)
74 19e: rts[\t]*
75
76 000001a0 <.L32noRelax>:
77 1a0: mov.l @\(0xffff04:32,er0\),er2
78 1aa: mov.l er2,@\(0xffff04:32,er0\)
79 1b4: mov.l @\(0x8000:32,er1\),er2
80 1be: mov.l er2,@\(0x8000:32,er1\)
81 1c8: rts[\t]*
This page took 0.030875 seconds and 4 git commands to generate.