diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-05-06 13:53:21 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-05-06 13:53:21 +0000 |
commit | f15da002cfa7e2ef33c87b51fa2d37a4eda5b282 (patch) | |
tree | 1b262c16a6602f784a5971afa6744b252ba6d4b8 /ace/OS_NS_time.inl | |
parent | 096772d29e50fcc099811a01e2f4bed2f87786ef (diff) | |
download | ATCD-f15da002cfa7e2ef33c87b51fa2d37a4eda5b282.tar.gz |
Fri May 6 13:50:12 UTC 2005 Martin Corino <mcorino@remedy.nl>
Diffstat (limited to 'ace/OS_NS_time.inl')
-rw-r--r-- | ace/OS_NS_time.inl | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/ace/OS_NS_time.inl b/ace/OS_NS_time.inl index d663dcbfb1e..33ad6c2b6c6 100644 --- a/ace/OS_NS_time.inl +++ b/ace/OS_NS_time.inl @@ -238,9 +238,8 @@ ACE_OS::gethrtime (const ACE_HRTimer_Op op) ACE_UNUSED_ARG (op); // Use .obj/gethrtime.o, which was compiled with g++. return ACE_gethrtime (); -#elif (defined(__KCC) || defined (__GNUG__)) && !defined (__MINGW32__) && !defined(ACE_VXWORKS) && defined (ACE_HAS_PENTIUM) +#elif (defined(__KCC) || defined (__GNUG__) || defined (__INTEL_COMPILER)) && !defined (__MINGW32__) && !defined(ACE_VXWORKS) && defined (ACE_HAS_PENTIUM) ACE_UNUSED_ARG (op); - # if defined (ACE_LACKS_LONGLONG_T) double now; # else /* ! ACE_LACKS_LONGLONG_T */ @@ -341,9 +340,9 @@ ACE_OS::gethrtime (const ACE_HRTimer_Op op) do { asm volatile ("mftbu %0\n" - "mftb %1\n" - "mftbu %2" - : "=r" (most), "=r" (least), "=r" (scratch)); + "mftb %1\n" + "mftbu %2" + : "=r" (most), "=r" (least), "=r" (scratch)); } while (most != scratch); #endif |