diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-23 18:28:55 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-23 18:28:55 +0000 |
commit | 06ce59d348e30ce3da6106943c2d5660abc4c219 (patch) | |
tree | 193a5f6f9b2e16cb3c722e5ef066dd266832a6bd /ace/gethrtime.cpp | |
parent | 74205f4d54deada413395d34b3dfa99d51c6f7cb (diff) | |
download | ATCD-IR-base.tar.gz |
This commit was manufactured by cvs2svn to create tag 'IR-base'.IR-base
Diffstat (limited to 'ace/gethrtime.cpp')
-rw-r--r-- | ace/gethrtime.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/ace/gethrtime.cpp b/ace/gethrtime.cpp index 518d5172992..8d290724a8f 100644 --- a/ace/gethrtime.cpp +++ b/ace/gethrtime.cpp @@ -29,11 +29,10 @@ ACE_gethrtime (void) // "now". The A constraint signifies a 64-bit int. #if defined (__GNUG__) asm volatile ("rdtsc" : "=A" (now) : : "memory"); -// #elif defined (ghs) -// The following doesn't work. For now, this file must be compile with g++. -// asm ("rdtsc"); -// asm ("movl %edx,-16(%ebp)"); -// asm ("movl %eax,-12(%ebp)"); +#elif defined (ghs) + asm ("rdtsc"); + asm ("movl -16(%ebp),%edx"); + asm ("movl -12(%ebp),%eax"); #else # error unsupported compiler #endif |