Remove rdts until a better fix for the bad asm is found...
authorWim Taymans <wim.taymans@gmail.com>
Fri, 18 Aug 2000 22:17:34 +0000 (22:17 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 18 Aug 2000 22:17:34 +0000 (22:17 +0000)
Original commit message from CVS:
Remove rdts until a better fix for the bad asm is found...

libs/idct/ieeetest.c

index 8751dbf..86e0ef0 100644 (file)
@@ -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