21 #ifndef __TBB_machine_gcc_ia32_common_H 22 #define __TBB_machine_gcc_ia32_common_H 30 __TBB_ASSERT(x>0,
"The logarithm of a non-positive value is undefined.");
32 __asm__(
"bsr %1,%0" :
"=r"(j) :
"r"(i));
35 #define __TBB_Log2(V) __TBB_machine_lg(V) 49 for (int32_t i = 0; i < delay; i++) {
50 __asm__ __volatile__(
"pause;");
54 #define __TBB_Pause(V) __TBB_machine_pause(V) 62 tbb::internal::uint32_t hi, lo;
63 __asm__ __volatile__(
"rdtsc" :
"=d"(hi),
"=a"(lo));
67 #define __TBB_time_stamp() __TBB_machine_time_stamp() 70 #ifndef __TBB_CPU_CTL_ENV_PRESENT 71 #define __TBB_CPU_CTL_ENV_PRESENT 1 82 #if __TBB_ICC_12_0_INL_ASM_FSTCW_BROKEN 84 __asm__ __volatile__ (
91 __asm__ __volatile__ (
100 __asm__ __volatile__ (
static intptr_t __TBB_machine_lg(T x)
#define __TBB_ASSERT(predicate, comment)
No-op version of __TBB_ASSERT.
static tbb::internal::machine_tsc_t __TBB_machine_time_stamp()
static const int MXCSR_CONTROL_MASK
static void __TBB_machine_pause(int32_t delay)
bool operator!=(const cpu_ctl_env &ctl) const