1 #as: 2 #objdump: -dr 3 #name: regression 4 5 .*\.o: file format elf32-epiphany 6 7 8 Disassembly of section \.text: 9 10 00000000 \<START\>: 11 0: 000b 0802 mov r0,0x8000 12 4: 0056 lsl r0,r0,0x2 13 6: c0c3 mov r6,0x6 14 8: 6063 mov r3,0x3 15 a: ff1f fc0a add r63,r63,r6 16 e: fd1f fc0a add r63,r63,r2 17 12: dc0b e072 mov r62,0x7e0 18 16: ff3f ff8a sub r63,r63,r62 19 1a: 0300 beq 20 \<BRANCH1\> 20 1c: 0023 mov r0,0x1 21 1e: 0fe2 trap 0x3 22 23 00000020 \<BRANCH1\>: 24 20: 0900 beq 32 \<BRANCH2\> 25 22: 0023 mov r0,0x1 26 24: 0fe2 trap 0x3 27 26: 0023 mov r0,0x1 28 28: 0fe2 trap 0x3 29 2a: 0023 mov r0,0x1 30 2c: 0fe2 trap 0x3 31 2e: 0023 mov r0,0x1 32 30: 0fe2 trap 0x3 33 34 00000032 \<BRANCH2\>: 35 32: 1c10 bne 6a \<FAIL_BRANCH\> 36 37 00000034 \<BRANCH3\>: 38 34: 1b60 bgt 6a \<FAIL_BRANCH\> 39 40 00000036 \<BRANCH4\>: 41 36: 0370 bgte 3c \<BRANCH5\> 42 38: 0023 mov r0,0x1 43 3a: 0fe2 trap 0x3 44 45 0000003c \<BRANCH5\>: 46 3c: 0390 blte 42 \<BRANCH6\> 47 3e: 0023 mov r0,0x1 48 40: 0fe2 trap 0x3 49 50 00000042 \<BRANCH6\>: 51 42: 1480 blt 6a \<FAIL_BRANCH\> 52 53 00000044 \<BRANCH8\>: 54 44: efe8 0000 b 222 \<LONGJUMP\> 55 48: 0023 mov r0,0x1 56 4a: 0fe2 trap 0x3 57 58 0000004c \<RETURN\>: 59 4c: edf8 0000 bl 226 \<FUNCTION\> 60 50: e00b e002 mov r63,0x0 61 50: R_EPIPHANY_LOW \.text\+0x5c 62 54: 1d4f 1c02 jr r63 63 58: 0023 mov r0,0x1 64 5a: 0fe2 trap 0x3 65 66 0000005c \<JARLAB\>: 67 5c: e00b e002 mov r63,0x0 68 5c: R_EPIPHANY_LOW \.text\+0x226 69 60: 1d5f 1c02 jalr r63 70 64: 05e0 b 6e \<NEXT\> 71 66: 0023 mov r0,0x1 72 68: 0fe2 trap 0x3 73 74 0000006a \<FAIL_BRANCH\>: 75 6a: 0023 mov r0,0x1 76 6c: 0fe2 trap 0x3 77 78 0000006e \<NEXT\>: 79 6e: 8014 strb r4,\[r0\] 80 70: e00c e000 ldrb r63,\[r0,\+0x0\] 81 74: fe3f fc0a sub r63,r63,r4 82 78: 0300 beq 7e \<STOREB\> 83 7a: 0023 mov r0,0x1 84 7c: 0fe2 trap 0x3 85 86 0000007e \<STOREB\>: 87 7e: a39c 0001 strb r5,\[r0,\+0xf\] 88 82: e38c e001 ldrb r63,\[r0,\+0xf\] 89 86: febf fc0a sub r63,r63,r5 90 8a: 0300 beq 90 \<STORES\> 91 8c: 0023 mov r0,0x1 92 8e: 0fe2 trap 0x3 93 94 00000090 \<STORES\>: 95 90: 8034 strh r4,\[r0\] 96 92: e02c e000 ldrh r63,\[r0,\+0x0\] 97 96: fe3f fc0a sub r63,r63,r4 98 9a: 0300 beq a0 \<STORES2\> 99 9c: 0023 mov r0,0x1 100 9e: 0fe2 trap 0x3 101 102 000000a0 \<STORES2\>: 103 a0: a33c 0001 strh r5,\[r0,\+0xe\] 104 a4: e32c e001 ldrh r63,\[r0,\+0xe\] 105 a8: febf fc0a sub r63,r63,r5 106 ac: 0300 beq b2 \<STORE\> 107 ae: 0023 mov r0,0x1 108 b0: 0fe2 trap 0x3 109 110 000000b2 \<STORE\>: 111 b2: 8054 str r4,\[r0\] 112 b4: e04c e000 ldr r63,\[r0,\+0x0\] 113 b8: fe3f fc0a sub r63,r63,r4 114 bc: 0300 beq c2 \<STORE2\> 115 be: 0023 mov r0,0x1 116 c0: 0fe2 trap 0x3 117 118 000000c2 \<STORE2\>: 119 c2: a25c 0001 str r5,\[r0,\+0xc\] 120 c6: e24c e001 ldr r63,\[r0,\+0xc\] 121 ca: febf fc0a sub r63,r63,r5 122 ce: 0300 beq d4 \<STOREBI\> 123 d0: 0023 mov r0,0x1 124 d2: 0fe2 trap 0x3 125 126 000000d4 \<STOREBI\>: 127 d4: 8211 strb r4,\[r0,r4\] 128 d6: e209 e000 ldrb r63,\[r0,\+r4\] 129 da: fe3f fc0a sub r63,r63,r4 130 de: 0300 beq e4 \<STORESI\> 131 e0: 0023 mov r0,0x1 132 e2: 0fe2 trap 0x3 133 134 000000e4 \<STORESI\>: 135 e4: a231 strh r5,\[r0,r4\] 136 e6: e229 e000 ldrh r63,\[r0,\+r4\] 137 ea: febf fc0a sub r63,r63,r5 138 ee: 0300 beq f4 \<STOREI\> 139 f0: 0023 mov r0,0x1 140 f2: 0fe2 trap 0x3 141 142 000000f4 \<STOREI\>: 143 f4: c251 str r6,\[r0,r4\] 144 f6: e249 e000 ldr r63,\[r0,\+r4\] 145 fa: ff3f fc0a sub r63,r63,r6 146 fe: 0300 beq 104 \<PMB\> 147 100: 0023 mov r0,0x1 148 102: 0fe2 trap 0x3 149 150 00000104 \<PMB\>: 151 104: 8215 strb r4,\[r0\],r4 152 106: 023b 0000 sub r0,r0,4 153 10a: e20d e000 ldrb r63,\[r0\],\+r4 154 10e: 023b 0000 sub r0,r0,4 155 112: fe3f fc0a sub r63,r63,r4 156 116: 0300 beq 11c \<PMS\> 157 118: 0023 mov r0,0x1 158 11a: 0fe2 trap 0x3 159 160 0000011c \<PMS\>: 161 11c: a235 strh r5,\[r0\],r4 162 11e: 023b 0000 sub r0,r0,4 163 122: e22d e000 ldrh r63,\[r0\],\+r4 164 126: febf fc0a sub r63,r63,r5 165 12a: 0300 beq 130 \<PM\> 166 12c: 0023 mov r0,0x1 167 12e: 0fe2 trap 0x3 168 169 00000130 \<PM\>: 170 130: 023b 0000 sub r0,r0,4 171 134: c255 str r6,\[r0\],r4 172 136: 023b 0000 sub r0,r0,4 173 13a: e24d e000 ldr r63,\[r0\],\+r4 174 13e: 023b 0000 sub r0,r0,4 175 142: ff3f fc0a sub r63,r63,r6 176 146: 0300 beq 14c \<MOVLAB\> 177 148: 0023 mov r0,0x1 178 14a: 0fe2 trap 0x3 179 180 0000014c \<MOVLAB\>: 181 14c: ffeb e002 mov r63,0xff 182 150: 3fe3 mov r1,0xff 183 152: fcbf fc0a sub r63,r63,r1 184 156: 0300 beq 15c \<ADDLAB\> 185 158: 0023 mov r0,0x1 186 15a: 0fe2 trap 0x3 187 188 0000015c \<ADDLAB\>: 189 15c: e99b e000 add r63,r2,3 190 160: febb fc00 sub r63,r63,5 191 164: 0300 beq 16a \<SUBLAB\> 192 166: 0023 mov r0,0x1 193 168: 0fe2 trap 0x3 194 195 0000016a \<SUBLAB\>: 196 16a: e8bb e000 sub r63,r2,1 197 16e: fcbb fc00 sub r63,r63,1 198 172: 0300 beq 178 \<LSRLAB\> 199 174: 0023 mov r0,0x1 200 176: 0fe2 trap 0x3 201 202 00000178 \<LSRLAB\>: 203 178: f84f e006 lsr r63,r6,0x2 204 17c: fcbb fc00 sub r63,r63,1 205 180: 0300 beq 186 \<LSLLAB\> 206 182: 0023 mov r0,0x1 207 184: 0fe2 trap 0x3 208 209 00000186 \<LSLLAB\>: 210 186: ec5f e006 lsl r63,r3,0x2 211 18a: fe3b fc01 sub r63,r63,12 212 18e: 0300 beq 194 \<LSRILAB\> 213 190: 0023 mov r0,0x1 214 192: 0fe2 trap 0x3 215 216 00000194 \<LSRILAB\>: 217 194: f94f e00a lsr r63,r6,r2 218 198: fcbb fc00 sub r63,r63,1 219 19c: 0300 beq 1a2 \<LSLILAB\> 220 19e: 0023 mov r0,0x1 221 1a0: 0fe2 trap 0x3 222 223 000001a2 \<LSLILAB\>: 224 1a2: ed2f e00a lsl r63,r3,r2 225 1a6: fe3b fc01 sub r63,r63,12 226 1aa: 0300 beq 1b0 \<ORRLAB\> 227 1ac: 0023 mov r0,0x1 228 1ae: 0fe2 trap 0x3 229 230 000001b0 \<ORRLAB\>: 231 1b0: ae7a orr r5,r3,r4 232 1b2: f7bb e000 sub r63,r5,7 233 1b6: 0300 beq 1bc \<ANDLAB\> 234 1b8: 0023 mov r0,0x1 235 1ba: 0fe2 trap 0x3 236 237 000001bc \<ANDLAB\>: 238 1bc: ae5a and r5,r3,r4 239 1be: f43b e000 sub r63,r5,0 240 1c2: 0300 beq 1c8 \<EORLAB\> 241 1c4: 0023 mov r0,0x1 242 1c6: 0fe2 trap 0x3 243 244 000001c8 \<EORLAB\>: 245 1c8: ad0a eor r5,r3,r2 246 1ca: f4bb e000 sub r63,r5,1 247 1ce: 0300 beq 1d4 \<ADD3LAB\> 248 1d0: 0023 mov r0,0x1 249 1d2: 0fe2 trap 0x3 250 251 000001d4 \<ADD3LAB\>: 252 1d4: e99f e00a add r63,r2,r3 253 1d8: febb fc00 sub r63,r63,5 254 1dc: 0300 beq 1e2 \<SUB3LAB\> 255 1de: 0023 mov r0,0x1 256 1e0: 0fe2 trap 0x3 257 258 000001e2 \<SUB3LAB\>: 259 1e2: fa3f e00a sub r63,r6,r4 260 1e6: fd3b fc00 sub r63,r63,2 261 1ea: 0300 beq 1f0 \<MOVRLAB\> 262 1ec: 0023 mov r0,0x1 263 1ee: 0fe2 trap 0x3 264 265 000001f0 \<MOVRLAB\>: 266 1f0: e8ef e002 mov r63,r2 267 1f4: fd3b fc00 sub r63,r63,2 268 1f8: 0b00 beq 20e \<NOPLAB\> 269 1fa: 0023 mov r0,0x1 270 1fc: 0fe2 trap 0x3 271 272 000001fe \<MOVTFLAB\>: 273 1fe: 0502 movts status,r0 274 200: e51f e002 movfs r63,status 275 204: fc3f fc0a sub r63,r63,r0 276 208: fb00 beq 1fe \<MOVTFLAB\> 277 20a: 0023 mov r0,0x1 278 20c: 0fe2 trap 0x3 279 280 0000020e \<NOPLAB\>: 281 20e: 01a2 nop 282 210: 01a2 nop 283 212: 01a2 nop 284 214: 01a2 nop 285 286 00000216 \<PASSED\>: 287 216: 0003 mov r0,0x0 288 218: 0fe2 trap 0x3 289 21a: 01b2 idle 290 291 0000021c \<FAILED\>: 292 21c: 0023 mov r0,0x1 293 21e: 0fe2 trap 0x3 294 220: 01b2 idle 295 296 00000222 \<LONGJUMP\>: 297 222: 15e8 ffff b 4c \<RETURN\> 298 299 00000226 \<FUNCTION\>: 300 226: 194f 0402 rts 301