From bd5759f1f1059ce1be1af63938f3d17aa370b454 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 18 Aug 2000 22:17:34 +0000 Subject: [PATCH] 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... --- libs/idct/ieeetest.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/idct/ieeetest.c b/libs/idct/ieeetest.c index 8751dbf18e..86e0ef0ae0 100644 --- a/libs/idct/ieeetest.c +++ b/libs/idct/ieeetest.c @@ -39,6 +39,7 @@ char * meets (double val, double limit) return ((fabs(val) <= limit) ? "meets" : "FAILS"); } +#ifdef HAVE_RDTS __inline__ void read_tsc(guint64 *dst) { __asm__ __volatile__ ("rdtsc" @@ -46,6 +47,10 @@ __inline__ void read_tsc(guint64 *dst) { : : "eax", "edx"); } +#else +__inline__ void read_tsc(guint64 *dst) { +} +#endif int