Remove rdts until a better fix for the bad asm is found...

Original commit message from CVS:
Remove rdts until a better fix for the bad asm is found...
This commit is contained in:
Wim Taymans 2000-08-18 22:17:34 +00:00
parent 53be55b62e
commit bd5759f1f1

View file

@ -39,6 +39,7 @@ char * meets (double val, double limit)
return ((fabs(val) <= limit) ? "meets" : "FAILS"); return ((fabs(val) <= limit) ? "meets" : "FAILS");
} }
#ifdef HAVE_RDTS
__inline__ void read_tsc(guint64 *dst) { __inline__ void read_tsc(guint64 *dst) {
__asm__ __volatile__ __asm__ __volatile__
("rdtsc" ("rdtsc"
@ -46,6 +47,10 @@ __inline__ void read_tsc(guint64 *dst) {
: :
: "eax", "edx"); : "eax", "edx");
} }
#else
__inline__ void read_tsc(guint64 *dst) {
}
#endif
int int