/netbsd-current/sys/arch/bebox/stand/boot/ |
H A D | clock.c | 40 static inline u_quad_t mftb(void); 43 mftb(void) function 48 __asm ("1: mftbu %0; mftb %0+1; mftbu %1; cmpw %0,%1; bne 1b" 62 tb = mftb(); 67 "mftb %0; cmpw 0, %0,%2; blt 1b; 2:"
|
/netbsd-current/sys/arch/prep/stand/boot/ |
H A D | clock.c | 44 static inline u_quad_t mftb(void); 48 mftb(void) function 53 __asm volatile ("1: mftbu %0; mftb %0+1; mftbu %1; cmpw %0,%1; bne 1b" 98 tb = mftb(); 103 "mftb %0; cmpw %0,%2; blt 1b; 2:"
|
/netbsd-current/sys/arch/rs6000/stand/boot/ |
H A D | clock.c | 44 static inline u_quad_t mftb(void); 48 mftb(void) function 53 __asm volatile ("1: mftbu %0; mftb %0+1; mftbu %1; cmpw %0,%1; bne 1b" 99 tb = mftb(); 104 "mftb %0; cmpw %0,%2; blt 1b; 2:"
|
/netbsd-current/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/ |
H A D | ppccpuid.S | 149 mftb 3 251 mftb 7 260 .Loop: mftb 6 290 mftb 7 299 mftb 6 313 mftb 6
|
/netbsd-current/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/ |
H A D | ppccpuid.S | 109 mftb 3 191 mftb 7 200 .Loop: mftb 6 225 mftb 7 234 mftb 6 248 mftb 6
|
/netbsd-current/crypto/external/bsd/openssl.old/lib/libcrypto/arch/powerpc/ |
H A D | ppccpuid.S | 109 mftb 3 191 mftb 7 200 .Loop: mftb 6 225 mftb 7 234 mftb 6 248 mftb 6
|
/netbsd-current/crypto/external/bsd/openssl.old/lib/libcrypto/arch/powerpc64/ |
H A D | ppccpuid.S | 149 mftb 3 251 mftb 7 260 .Loop: mftb 6 290 mftb 7 299 mftb 6 313 mftb 6
|
/netbsd-current/sys/arch/powerpc/booke/ |
H A D | e500_timer.c | 100 const uint64_t now = mftb(); 157 ci->ci_lastintr = ci->ci_lasttb = mftb(); 192 tb = mftb();
|
H A D | e500_intr.c | 523 cpu->cpu_spl_tb[ipl][ci->ci_cpl] = mftb(); 931 __func__, tf, mftb(), tf->tf_srr0, tf->tf_srr1,
|
/netbsd-current/sys/arch/bebox/bebox/ |
H A D | cpu.c | 127 tb = mftb(); 133 while (tb > mftb())
|
/netbsd-current/sys/arch/prep/prep/ |
H A D | cpu.c | 121 tb = mftb(); 127 while (tb > mftb())
|
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/ |
H A D | ppccpuid.pl | 130 mftb r3 215 mftb $lasttick # collect 1st tick 224 Loop: mftb $tick 248 mftb $lasttick # collect 1st tick 257 mftb $tick # collect 1st diff 271 mftb $tick
|
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/ |
H A D | ppccpuid.pl | 134 mftb r3 219 mftb $lasttick # collect 1st tick 228 Loop: mftb $tick 252 mftb $lasttick # collect 1st tick 261 mftb $tick # collect 1st diff 275 mftb $tick
|
/netbsd-current/sys/arch/powerpc/powerpc/ |
H A D | clock.c | 91 .tc_name = "mftb", 114 __asm volatile ("mftb %0" : "=r"(ci->ci_lasttb)); 179 __asm volatile ("mftb %0" : "=r"(tb)); 234 tb = mftb(); 237 __asm volatile ("1: mftb %0; cmpld %0,%1; blt 1b;" 244 "mftb %0; cmplw %0,%2; blt 1b; 2:" 260 tb = (u_int)(mftb() & 0x7fffffff);
|
H A D | fixup.c | 85 cycles = mftb(); 245 cycles = mftb() - cycles;
|
H A D | trap_subr.S | 286 mftb %r28
|
/netbsd-current/external/lgpl3/gmp/dist/tune/ |
H A D | powerpc.asm | 44 mftb r5
|
H A D | powerpc64.asm | 42 mftb r5
|
H A D | time.c | 277 /* mftb 278 Enhancement: On 64-bit chips mftb gives a 64-bit value, no need for mftbu 288 "mftb %1\n" \ 306 ASSERT_FAIL (mftb not available); \ 826 FREQ_MEASURE_ONE ("mftb", struct_timeval, 858 printf ("mftb_works_p(): SIGILL not supported, assuming mftb works\n"); 864 printf ("mftb_works_p(): SIGILL during mftb, so doesn't work\n"); 870 printf ("mftb_works_p(): mftb works\n"); 874 printf ("mftb_works_p(): SIGILL not defined, assuming mftb works\n"); 879 printf ("mftb_works_p(): no gettimeofday available to measure mftb\ [all...] |
/netbsd-current/sys/arch/macppc/macppc/ |
H A D | cpu.c | 289 tb = mftb(); 295 while (tb > mftb())
|
/netbsd-current/sys/arch/powerpc/ibm4xx/ |
H A D | clock.c | 237 tb = mftb(); 255 "mftb %0;"
|
/netbsd-current/sys/arch/ofppc/ofppc/ |
H A D | cpu.c | 261 tb = mftb();
|
/netbsd-current/sys/arch/sandpoint/stand/altboot/ |
H A D | brdsetup.c | 68 static inline uint64_t mftb(void); 1025 uint64_t tb = mftb(); 1039 tb = mftb(); 1048 " mftb %0;" 1138 mftb(void) function 1143 asm ("1: mftbu %0; mftb %0+1; mftbu %1; cmpw %0,%1; bne 1b"
|
/netbsd-current/sys/arch/powerpc/include/ |
H A D | cpu.h | 285 mftb(void) function 290 __asm volatile ("mftb %0" : "=r"(tb)); 305 " mftb %L[tb]" "\n"
|
/netbsd-current/sys/arch/powerpc/booke/dev/ |
H A D | pq3etsec.c | 2567 uint64_t now = mftb();
|