[llvm-bugs] [Bug 26321] New: MIPS IAS does not handle pseudoinstruction dla w/o $at

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jan 26 10:50:13 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=26321

            Bug ID: 26321
           Summary: MIPS IAS does not handle pseudoinstruction dla w/o $at
           Product: new-bugs
           Version: trunk
          Hardware: Other
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: emaste at freebsd.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160126/5dd687cc/attachment.html>


More information about the llvm-bugs mailing list