Bugzilla – Attachment 319 Details for
Bug 566
EIGEN_CPUID: inconsistent operand constraints in an 'asm' for x64 with -fPIC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
This bugzilla service is closed. All entries have been migrated to
https://gitlab.com/libeigen/eigen
[patch]
Patch for Memory.h
Memory.h.patch (text/plain), 808 bytes, created by
Michael Schmidt
on 2013-03-19 12:59:51 UTC
(
hide
)
Description:
Patch for Memory.h
Filename:
MIME Type:
Creator:
Michael Schmidt
Created:
2013-03-19 12:59:51 UTC
Size:
808 bytes
patch
obsolete
>Index: Memory.h >=================================================================== >--- Memory.h (revision 3819) >+++ Memory.h (working copy) >@@ -739,6 +739,10 @@ > // Case for x86 with PIC > # define EIGEN_CPUID(abcd,func,id) \ > __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)); >+# elif defined(__PIC__) && defined(__x86_64__) >+ // Case for x64 with PIC >+# define EIGEN_CPUID(abcd,func,id) \ >+ __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)); > # else > // Case for x86_64 or x86 w/o PIC > # define EIGEN_CPUID(abcd,func,id) \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 566
: 319