This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
View | Details | Raw Unified | Return to bug 566
Collapse All | Expand All

(-)Memory.h (+4 lines)
Lines 739-744 Link Here
739
       // Case for x86 with PIC
739
       // Case for x86 with PIC
740
#      define EIGEN_CPUID(abcd,func,id) \
740
#      define EIGEN_CPUID(abcd,func,id) \
741
         __asm__ __volatile__ ("xchgl %%ebx, %%esi;cpuid; xchgl %%ebx,%%esi": "=a" (abcd[0]), "=S" (abcd[1]), "=c" (abcd[2]), "=d" (abcd[3]) : "a" (func), "c" (id));
741
         __asm__ __volatile__ ("xchgl %%ebx, %%esi;cpuid; xchgl %%ebx,%%esi": "=a" (abcd[0]), "=S" (abcd[1]), "=c" (abcd[2]), "=d" (abcd[3]) : "a" (func), "c" (id));
742
#    elif defined(__PIC__) && defined(__x86_64__)
743
       // Case for x64 with PIC
744
#      define EIGEN_CPUID(abcd,func,id) \
745
        __asm__ __volatile__ ("xchg{q}\t{%%}rbx, %q1; cpuid; xchg{q}\t{%%}rbx, %q1": "=a" (abcd[0]), "=&r" (abcd[1]), "=c" (abcd[2]), "=d" (abcd[3]) : "0" (func), "2" (id));
742
#    else
746
#    else
743
       // Case for x86_64 or x86 w/o PIC
747
       // Case for x86_64 or x86 w/o PIC
744
#      define EIGEN_CPUID(abcd,func,id) \
748
#      define EIGEN_CPUID(abcd,func,id) \

Return to bug 566