mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
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:
parent
53be55b62e
commit
bd5759f1f1
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue