File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -1402,19 +1402,9 @@ extern void __kmp_query_cpuid(kmp_cpuinfo_t *p);
14021402// subleaf is only needed for cache and topology discovery and can be set to
14031403// zero in most cases
14041404static inline void __kmp_x86_cpuid (int leaf, int subleaf, struct kmp_cpuid *p) {
1405- #if KMP_ARCH_X86 && (defined(__pic__) || defined(__PIC__))
1406- // on i386 arch, the ebx reg. is used by pic, thus we need to preserve from
1407- // being trashed beforehand
1408- __asm__ __volatile__ (" mov %%ebx, %%edi\n "
1409- " cpuid\n "
1410- " xchg %%edi, %%ebx\n "
1411- : " =a" (p->eax ), " =b" (p->ebx ), " =c" (p->ecx ), " =d" (p->edx )
1412- : " a" (leaf), " c" (subleaf));
1413- #else
14141405 __asm__ __volatile__ (" cpuid"
14151406 : " =a" (p->eax ), " =b" (p->ebx ), " =c" (p->ecx ), " =d" (p->edx )
14161407 : " a" (leaf), " c" (subleaf));
1417- #endif
14181408}
14191409// Load p into FPU control word
14201410static inline void __kmp_load_x87_fpu_control_word (const kmp_int16 *p) {
You can’t perform that action at this time.
0 commit comments