[openib-general] Re: Re: Userspace testing results (manykernels, many svn trees)

Roland Dreier rdreier at cisco.com
Tue Jan 24 11:46:19 PST 2006


    Shirley> mftb() returns unsigned long. If we want to use the 64
    Shirley> bit register, then mftb() can't be used.

Not exactly.  If the CPU has 64 bit registers, then mftb will give a
full 64 bit value.  If the CPU only has 32 bit registers (or is
running in 32 mode), then since mftb only touches one register, mftb
can only return 32 bits.  In the 32 bit case, mftb returns the low 32
bits of the timebase, and mftbu can be used to return the high 32 bits.

 - R.



More information about the general mailing list