1 #objdump: -dr 2 #name: D30V optimization test 3 #as: -O 4 5 .*: +file format elf32-d30v 6 7 Disassembly of section .text: 8 9 00000000 <start>: 10 0: 08801080 08803100 abs r1, r2 || abs r3, r4 11 8: 02900100 02901080 notfg f0, s || notfg f1, f2 12 10: 08801080 02901080 abs r1, r2 || notfg f1, f2 13 18: 08001083 82907000 add.s r1, r2, r3 -> notfg c, f0 14 20: 08001083 829001c0 add.s r1, r2, r3 -> notfg f0, c 15 28: 00080000 00f00000 bra.s 0 \(28 <start\+0x28>\) || nop 16 30: 08801080 88801080 abs r1, r2 -> abs r1, r2 17 38: 00080000 00f00000 bra.s 0 \(38 <start\+0x38>\) || nop 18 40: 002bffff 00f00000 bsr.s -8 \(38 <start\+0x38>\) || nop 19 48: 08801080 88801080 abs r1, r2 -> abs r1, r2 20 50: 00280000 08801080 bsr.s 0 \(50 <start\+0x50>\) || abs r1, r2 21 58: 04001083 85007209 ldb.s r1, @\(r2, r3\) -> stb.s r7, @\(r8, r9\) 22 60: 05007209 84001083 stb.s r7, @\(r8, r9\) -> ldb.s r1, @\(r2, r3\) 23 68: 04007209 84001083 ldb.s r7, @\(r8, r9\) -> ldb.s r1, @\(r2, r3\) 24 70: 05007209 85001083 stb.s r7, @\(r8, r9\) -> stb.s r1, @\(r2, r3\) 25 78: 080030c6 854820c0 add.s r3, r3, r6 -> stw.s r2, @\(r3, 0x0\) 26 80: 02c28105 90180000 cmple.s f0, r4, r5 -> jmp.s/tx 0 <start> 27 88: 02c28105 a0180000 cmple.s f0, r4, r5 -> jmp.s/fx 0 <start> 28 90: 30180000 02c28105 jmp.s/xt 0 <start> || cmple.s f0, r4, r5 29 98: 40180000 02c28105 jmp.s/xf 0 <start> || cmple.s f0, r4, r5 30 a0: 02c28105 d0180000 cmple.s f0, r4, r5 -> jmp.s/tt 0 <start> 31 a8: 02c28105 e0180000 cmple.s f0, r4, r5 -> jmp.s/tf 0 <start> 32 b0: 10180000 02c29105 jmp.s/tx 0 <start> || cmple.s f1, r4, r5 33 b8: 02c29105 b0180000 cmple.s f1, r4, r5 -> jmp.s/xt 0 <start> 34 c0: 08084001 82c28105 add.s r4, r0, 0x1 -> cmple.s f0, r4, r5 35 c8: 08084001 02c280c5 add.s r4, r0, 0x1 || cmple.s f0, r3, r5 36 d0: 04604006 886054d4 ld2w.s r4, @\(r0, r6\) -> adds.s r5, r19, r20 37 d8: 04604006 88603154 ld2w.s r4, @\(r0, r6\) -> adds.s r3, r5, r20 38 e0: 04604006 086064d4 ld2w.s r4, @\(r0, r6\) || adds.s r6, r19, r20 39 e8: 04604006 086074d4 ld2w.s r4, @\(r0, r6\) || adds.s r7, r19, r20 40 f0: 04604006 08607014 ld2w.s r4, @\(r0, r6\) || adds.s r7, r0, r20 41 f8: 05604006 086054d4 st2w.s r4, @\(r0, r6\) || adds.s r5, r19, r20 42 100: 05604006 08603154 st2w.s r4, @\(r0, r6\) || adds.s r3, r5, r20 43 108: 05604006 086064d4 st2w.s r4, @\(r0, r6\) || adds.s r6, r19, r20 44 110: 05604006 086074d4 st2w.s r4, @\(r0, r6\) || adds.s r7, r19, r20 45 118: 05604006 08607014 st2w.s r4, @\(r0, r6\) || adds.s r7, r0, r20 46 120: 0560a0c4 85628aec st2w.s r10, @\(r3, r4\) -> st2w.s r40, @\(r43, r44\) 47 128: 05401083 84429aab stw.s r1, @\(r2, r3\) -> ldw.s r41, @\(r42, r43\) 48 130: 04401083 84029aab ldw.s r1, @\(r2, r3\) -> ldb.s r41, @\(r42, r43\) 49 138: 0444418b 88689182 ldw.s r4, @\(r6\+, r11\) -> adds.s r9, r6, 0x2 50 140: 044c418b 08689182 ldw.s r4, @\(r6-, r11\) || adds.s r9, r6, 0x2 51 148: 054c418b 88689182 stw.s r4, @\(r6-, r11\) -> adds.s r9, r6, 0x2 52 150: 0440418b 08689182 ldw.s r4, @\(r6, r11\) || adds.s r9, r6, 0x2 53 158: 0440418b 08689182 ldw.s r4, @\(r6, r11\) || adds.s r9, r6, 0x2 54 160: 00180000 00f00000 jmp.s 0 <start> || nop 55 168: 00380000 08801080 jsr.s 0 <start> || abs r1, r2 56 170: 08801080 00f00000 abs r1, r2 || nop 57 178: 00080000 00f00000 bra.s 0 \(178 <start\+0x178>\) || nop 58 180: 00280000 08801080 bsr.s 0 \(180 <start\+0x180>\) || abs r1, r2 59 188: 08801080 00f00000 abs r1, r2 || nop 60 61 00000190 <label1>: 62 190: 05602083 89004146 st2w.s r2, @\(r2, r3\) -> addhlll.s r4, r5, r6 63 64 00000198 <label2>: 65 198: 05508209 8990a2cc st4hb.s r8, @\(r8, r9\) -> subhllh.s r10, r11, r12 66 67 000001a0 <label3>: 68 1a0: 0460e38f 8a610452 ld2w.s r14, @\(r14, r15\) -> mulhxhl r16, r17, r18 69 70 000001a8 <label4>: 71 1a8: 04413515 8a1165d8 ldw.s r19, @\(r20, r21\) -> mulx2h r22, r23, r24 72 73 000001b0 <label5>: 74 1b0: 0421969b 8a01c75e ldh.s r25, @\(r26, r27\) -> mul2h r28, r29, r30 75 76 000001b8 <label6>: 77 1b8: 80f00000 0b001083 nop <- mul r1, r2, r3 78 1c0: 08007209 0a404146 add.s r7, r8, r9 || mulhxll r4, r5, r6 79 80 000001c8 <label7>: 81 1c8: 04405180 0b0020c4 ldw.s r5, @\(r6, r0\) || mul r2, r3, r4 82 1d0: 80f00000 0b007209 nop <- mul r7, r8, r9 83 1d8: 0440a2c0 00f00000 ldw.s r10, @\(r11, r0\) || nop 84 1e0: 80f00000 0b00c34e nop <- mul r12, r13, r14 85 1e8: 0440f400 0b4420c4 ldw.s r15, @\(r16, r0\) || mac1 r2, r3, r4 86 1f0: 00f00000 00f00000 nop || nop 87 1f8: 04405180 00f00000 ldw.s r5, @\(r6, r0\) || nop 88 200: 80f00000 0b407209 nop <- mac0 r7, r8, r9 89 208: 0440a2c0 8440a2c0 ldw.s r10, @\(r11, r0\) -> ldw.s r10, @\(r11, r0\) 90