<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - MC ARM disassembler does not support all instructions"
   href="https://llvm.org/bugs/show_bug.cgi?id=30525">30525</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>MC ARM disassembler does not support all instructions
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: ARM
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>yyc1992@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Disassemble the following asm with llvm-objdump (note that this is not a valid
program, I'm just putting instructions that causes trouble in their own symbol
to workaround <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [arm disassembler] Disassembler can't read llvm created object"
   href="show_bug.cgi?id=15795">https://llvm.org/bugs/show_bug.cgi?id=15795</a>)

```
        .text
f1:
  movw    r5, #31860
f2:
  movt    r5, #63337
f3:
  blx     r0
f4:
  bx      lr
```

output of `llvm-objdump`

```
f1:
     554:       74  <unknown>
     555:       5c 07 e3 69     stmibvs r3!, {r2, r3, r4, r6, r8, r9, r10} ^

f2:
     558:       69  <unknown>
     559:       57 4f e3 30     rsclo   r4, r3, r7, asr pc

f3:
     55c:       30  <unknown>
     55d:       ff 2f e1 1e     mcrne   p15, #7, r2, c1, c15, #7

f4:
     560:       1e  <unknown>
     561:       ff 2f e1 1e     mcrne   p15, #7, r2, c1, c15, #7

f5:
     564:       1e  <unknown>
     565:       ff 2f 01 1e     mcrne   p15, #0, r2, c1, c15, #7

f6:
     568:       1e  <unknown>
     569:       ff 2f 91 1e     mrcne   p15, #4, r2, c1, c15, #7

f7:
     56c:       1e  <unknown>
     56d:       ff  <unknown>
     56e:       2f  <unknown>
     56f:       11  <unknown>
```

Interestingly, the first 4 instructions are actually picked from the
instructions llvm JIT generates.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>