Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mftbl in powerpc/include/cpu.h?



Hello,

Should this:

mftbl(void)
{
        uint32_t tbl;

        asm volatile ("mftbl %0" : "=r"(tbl));
        return tbl;
}

have:
        mftb %0 ...

my (yes ok old) assembler doesn't recongize `mftbl'.

Andrew




Home | Main Index | Thread Index | Old Index