<html>
    <head>
      <base href="http://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 --- - PowerPC integrated assembler doesn't handle some instructions"
   href="http://llvm.org/bugs/show_bug.cgi?id=18387">18387</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>PowerPC integrated assembler doesn't handle some 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>OpenBSD
          </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>MC
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>brad@comstyle.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The PowerPC integrated assembler seems to be missing support for the following
instructions..

mtsr, mfsr
mtdbatu, mtdbatl
mtibatu, mtibatl

.e.g.

../../../../arch/macppc/macppc/ofwreal.S:237:2: error: unrecognized instruction
mnemonic
 mtibatl 2,%r4
 ^
../../../../arch/macppc/macppc/ofwreal.S:239:2: error: unrecognized instruction
mnemonic
 mtibatu 2,%r4
 ^
./../../../arch/macppc/macppc/ofwreal.S:245:2: error: unrecognized instruction
mnemonic
 mtdbatl 0,%r4
 ^
../../../../arch/macppc/macppc/ofwreal.S:247:2: error: unrecognized instruction
mnemonic
 mtdbatu 0,%r4
 ^

../../../../arch/powerpc/powerpc/pmap.c:1817:16: error: unrecognized
instruction mnemonic
        asm volatile ("mfsr %0,%1"
                      ^
<inline asm>:1:2: note: instantiated into assembly here
        mfsr 3,13
        ^
../../../../arch/powerpc/powerpc/pmap.c:1819:16: error: unrecognized
instruction mnemonic
        asm volatile ("isync; mtsr %0,%1; isync"
                      ^
<inline asm>:1:9: note: instantiated into assembly here
        isync; mtsr 13,4; isync
               ^</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>