[LLVMbugs] [Bug 22389] New: MIPS integrated assembler: accept immediate 0 for zero register for gas compatibility

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jan 29 11:15:25 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22389

            Bug ID: 22389
           Summary: MIPS integrated assembler: accept immediate 0 for zero
                    register for gas compatibility
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: emaste at freebsd.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

We have a project ongoing to build FreeBSD/mips with Clang, using the
integrated assembler.

One issue was:

/home/sbruno/bsd/clang360-import/lib/libc/mips/gen/sigsetjmp.S:64:10: error:
invalid operand for instruction
 bne $5, 0x0, 1f # do saving of signal mask?
         ^

I've switched this to zero in FreeBSD r277877 but it seems gas accepts it.

https://svnweb.freebsd.org/base?view=revision&revision=277877

-- 
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/20150129/ed4a9322/attachment.html>


More information about the llvm-bugs mailing list