|
@@ -1121,6 +1121,7 @@ HAVE_LIST="
|
|
|
netinet_sctp_h
|
|
|
poll_h
|
|
|
posix_memalign
|
|
|
+ rdtsc
|
|
|
round
|
|
|
roundf
|
|
|
sched_getaffinity
|
|
@@ -2642,6 +2643,8 @@ check_cc <<EOF && enable inline_asm
|
|
|
void foo(void) { __asm__ volatile ("" ::); }
|
|
|
EOF
|
|
|
|
|
|
+check_code cc intrin.h "__rdtsc()" && enable rdtsc
|
|
|
+
|
|
|
_restrict=
|
|
|
for restrict_keyword in restrict __restrict__ __restrict; do
|
|
|
check_cc <<EOF && _restrict=$restrict_keyword && break
|