Lines Matching refs:lo
420 #define rdmsr(msr,lo,hi) \
421 __asm__ volatile("rdmsr" : "=a" (lo), "=d" (hi) : "c" (msr))
423 #define wrmsr(msr,lo,hi) \
424 __asm__ volatile("wrmsr" : : "c" (msr), "a" (lo), "d" (hi))
426 #define rdtsc(lo,hi) \
427 __asm__ volatile("lfence; rdtsc; lfence" : "=a" (lo), "=d" (hi))
429 #define write_tsc(lo,hi) wrmsr(0x10, lo, hi)
431 #define rdpmc(counter,lo,hi) \
432 __asm__ volatile("rdpmc" : "=a" (lo), "=d" (hi) : "c" (counter))
469 uint32_t lo=0, hi=0;
470 rdmsr(msr, lo, hi);
471 return (((uint64_t)hi) << 32) | ((uint64_t)lo);
481 uint64_t lo, hi;
482 rdtsc(lo, hi);
483 return ((hi) << 32) | (lo);
488 uint64_t lo, hi;
490 : "=a" (lo), "=d" (hi), "=m" (*aux)
493 return ((hi) << 32) | (lo);
505 extern int rdmsr_carefully(uint32_t msr, uint32_t *lo, uint32_t *hi);