[LLVMbugs] [Bug 18387] New: PowerPC integrated assembler doesn't handle some instructions

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jan 4 12:33:50 PST 2014


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

            Bug ID: 18387
           Summary: PowerPC integrated assembler doesn't handle some
                    instructions
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: OpenBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: MC
          Assignee: unassignedbugs at nondot.org
          Reporter: brad at comstyle.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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
               ^

-- 
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/20140104/db577446/attachment.html>


More information about the llvm-bugs mailing list