1
1
* have the real assembly for 64 bit mode (doh!)
* make sure to define type (remove debugging #if 0)

This commit was SVN r7401.
Этот коммит содержится в:
Brian Barrett 2005-09-15 22:26:07 +00:00
родитель 10d02b2110
Коммит a35c2e911d
2 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -16,7 +16,7 @@
noinst_HEADERS = atomic.h
noinst_HEADERS = atomic.h timer.h
# Conditionally install the header files

Просмотреть файл

@ -17,9 +17,7 @@
#ifndef OMPI_SYS_ARCH_TIMER_H
#define OMPI_SYS_ARCH_TIMER_H 1
#if 0
typedef uint64_t opal_timer_t;
#endif
#if OMPI_GCC_INLINE_ASSEMBLY
@ -31,7 +29,7 @@ opal_sys_timer_get_cycles(void)
{
opal_timer_t ret;
__asm__ __volatile__("rdtsc" : "=r"(ret));
__asm__ __volatile__("mov %%tick, %0" : "=r"(ret));
return ret;
}