Searched refs:mftb (Results 1 - 25 of 25) sorted by relevance

/netbsd-current/sys/arch/bebox/stand/boot/
H A Dclock.c40 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 Dclock.c44 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 Dclock.c44 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 Dppccpuid.S149 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 Dppccpuid.S109 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 Dppccpuid.S109 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 Dppccpuid.S149 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 De500_timer.c100 const uint64_t now = mftb();
157 ci->ci_lastintr = ci->ci_lasttb = mftb();
192 tb = mftb();
H A De500_intr.c522 cpu->cpu_spl_tb[ipl][ci->ci_cpl] = mftb();
930 __func__, tf, mftb(), tf->tf_srr0, tf->tf_srr1,
/netbsd-current/sys/arch/bebox/bebox/
H A Dcpu.c127 tb = mftb();
133 while (tb > mftb())
/netbsd-current/sys/arch/prep/prep/
H A Dcpu.c121 tb = mftb();
127 while (tb > mftb())
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/
H A Dppccpuid.pl130 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 Dppccpuid.pl134 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 Dclock.c91 .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 Dfixup.c85 cycles = mftb();
245 cycles = mftb() - cycles;
H A Dtrap_subr.S286 mftb %r28
/netbsd-current/external/lgpl3/gmp/dist/tune/
H A Dpowerpc.asm44 mftb r5
H A Dpowerpc64.asm42 mftb r5
H A Dtime.c277 /* 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 Dcpu.c289 tb = mftb();
295 while (tb > mftb())
/netbsd-current/sys/arch/powerpc/ibm4xx/
H A Dclock.c237 tb = mftb();
255 "mftb %0;"
/netbsd-current/sys/arch/ofppc/ofppc/
H A Dcpu.c261 tb = mftb();
/netbsd-current/sys/arch/sandpoint/stand/altboot/
H A Dbrdsetup.c68 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 Dcpu.h285 mftb(void) function
290 __asm volatile ("mftb %0" : "=r"(tb));
305 " mftb %L[tb]" "\n"
/netbsd-current/sys/arch/powerpc/booke/dev/
H A Dpq3etsec.c2567 uint64_t now = mftb();

Completed in 469 milliseconds