Add support for relaxation of bit manipulation instructions.
[binutils.git] / ld / testsuite / ld-h8300 / relax-4.d
blobe7269a7f0d0281fd8095667592d53b2a525b96a1
1 # name: H8300 Relaxation Test 4
2 # ld: --relax -m h8300self
3 # objdump: -d --no-show-raw-insn
5 .*: file format .*-h8300
7 Disassembly of section .text:
9 00000100 <_start>:
10 100: f8 03 mov.b #0x3,r0l
11 102: fa 05 mov.b #0x5,r2l
12 104: 7f ff 60 80 bset r0l,@0xff:8
13 108: 7f 00 60 a0 bset r2l,@0x0:8
14 10c: 7e ff 63 a0 btst r2l,@0xff:8
15 110: 7e 00 63 80 btst r0l,@0x0:8
16 114: 6a 18 00 00 70 50 bset #0x5,@0x0:16
17 11a: 6a 18 7f ff 70 50 bset #0x5,@0x7fff:16
18 120: 6a 18 80 00 70 50 bset #0x5,@0x8000:16
19 126: 6a 18 fe ff 70 50 bset #0x5,@0xfeff:16
20 12c: 7f 00 70 50 bset #0x5,@0x0:8
21 130: 7f ff 70 50 bset #0x5,@0xff:8
22 134: 6a 10 00 00 76 50 band #0x5,@0x0:16
23 13a: 6a 10 7f ff 76 50 band #0x5,@0x7fff:16
24 140: 6a 10 80 00 76 50 band #0x5,@0x8000:16
25 146: 6a 10 fe ff 76 50 band #0x5,@0xfeff:16
26 14c: 7e 00 76 50 band #0x5,@0x0:8
27 150: 7e ff 76 50 band #0x5,@0xff:8
28 154: 7f ff 60 a0 bset r2l,@0xff:8
29 158: 7f 00 60 80 bset r0l,@0x0:8
30 15c: 7e ff 63 80 btst r0l,@0xff:8
31 160: 7e 00 63 a0 btst r2l,@0x0:8
32 164: 6a 18 00 00 70 60 bset #0x6,@0x0:16
33 16a: 6a 18 7f ff 70 60 bset #0x6,@0x7fff:16
34 170: 6a 38 00 00 80 00 70 60 bset #0x6,@0x8000:32
35 178: 6a 38 00 00 ff 00 70 60 bset #0x6,@0xff00:32
36 180: 6a 38 00 ff ff 00 70 60 bset #0x6,@0xffff00:32
37 188: 6a 38 ff ff 7f ff 70 60 bset #0x6,@0xffff7fff:32
38 190: 6a 18 80 00 70 60 bset #0x6,@0x8000:16
39 196: 6a 18 fe ff 70 60 bset #0x6,@0xfeff:16
40 19c: 7f 00 70 60 bset #0x6,@0x0:8
41 1a0: 7f ff 70 60 bset #0x6,@0xff:8
42 1a4: 6a 10 00 00 76 60 band #0x6,@0x0:16
43 1aa: 6a 10 7f ff 76 60 band #0x6,@0x7fff:16
44 1b0: 6a 30 00 00 80 00 76 60 band #0x6,@0x8000:32
45 1b8: 6a 30 00 00 ff 00 76 60 band #0x6,@0xff00:32
46 1c0: 6a 30 00 ff ff 00 76 60 band #0x6,@0xffff00:32
47 1c8: 6a 30 ff ff 7f ff 76 60 band #0x6,@0xffff7fff:32
48 1d0: 6a 10 80 00 76 60 band #0x6,@0x8000:16
49 1d6: 6a 10 fe ff 76 60 band #0x6,@0xfeff:16
50 1dc: 7e 00 76 60 band #0x6,@0x0:8
51 1e0: 7e ff 76 60 band #0x6,@0xff:8