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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to