17 #ifndef __TBB_machine_gcc_ia32_common_H 18 #define __TBB_machine_gcc_ia32_common_H 26 __TBB_ASSERT(x>0,
"The logarithm of a non-positive value is undefined.");
28 __asm__(
"bsr %1,%0" :
"=r"(j) :
"r"(i));
31 #define __TBB_Log2(V) __TBB_machine_lg(V) 45 for (int32_t i = 0; i < delay; i++) {
46 __asm__ __volatile__(
"pause;");
50 #define __TBB_Pause(V) __TBB_machine_pause(V) 58 tbb::internal::uint32_t hi, lo;
59 __asm__ __volatile__(
"rdtsc" :
"=d"(hi),
"=a"(lo));
63 #define __TBB_time_stamp() __TBB_machine_time_stamp() 66 #ifndef __TBB_CPU_CTL_ENV_PRESENT 67 #define __TBB_CPU_CTL_ENV_PRESENT 1 78 #if __TBB_ICC_12_0_INL_ASM_FSTCW_BROKEN 80 __asm__ __volatile__ (
87 __asm__ __volatile__ (
96 __asm__ __volatile__ (
static const int MXCSR_CONTROL_MASK
bool operator!=(const cpu_ctl_env &ctl) const
static intptr_t __TBB_machine_lg(T x)
#define __TBB_ASSERT(predicate, comment)
No-op version of __TBB_ASSERT.
static void __TBB_machine_pause(int32_t delay)
static tbb::internal::machine_tsc_t __TBB_machine_time_stamp()