<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 --- - MIPS IAS does not handle pseudoinstruction dla w/o $at"
   href="https://llvm.org/bugs/show_bug.cgi?id=26321">26321</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>MIPS IAS does not handle pseudoinstruction dla w/o $at
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>FreeBSD
          </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>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>emaste@freebsd.org
          </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>Another result from Sean Bruno's ongoing attempts to build FreeBSD/MIPS with
Clang & integrated assembler:

 /home/sbruno/head/sys/mips/mips/exception.S:196:2: error: pseudo-instruction
requires $at, which is not available
 dla $26, machExceptionTable # get base of the jump table

GNU as assembles the dla pseudoinstruction as:

 ;        PTR_LA  k0, _C_LABEL(machExceptionTable)  # get base of the jump
table
      c0:       3c1a0000        lui     k0,0x0
      c4:       675a0000        daddiu  k0,k0,0
      c8:       001ad438        dsll    k0,k0,0x10
      cc:       675a0000        daddiu  k0,k0,0
      d0:       001ad438        dsll    k0,k0,0x10
      d4:       675a0000        daddiu  k0,k0,0</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>