Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 258178 Details for
Bug 349784
net-libs/nativebiginteger TFU ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Improved assembly fix.
nativebiginteger-0.6.4-asmfix.patch (text/plain), 579 bytes, created by
Dane Smith (RETIRED)
on 2010-12-27 15:01:15 UTC
(
hide
)
Description:
Improved assembly fix.
Filename:
MIME Type:
Creator:
Dane Smith (RETIRED)
Created:
2010-12-27 15:01:15 UTC
Size:
579 bytes
patch
obsolete
>--- jcpuid/src/jcpuid.c 2008-10-06 09:44:53.000000000 -0400 >+++ jcpuid/src/jcpuid.c.new2 2010-12-27 09:41:53.000000000 -0500 >@@ -19,6 +19,7 @@ > mov d, edx > } > #else >+ #ifdef _LP64 > //Use GCC assembler notation > asm > ( >@@ -29,6 +30,20 @@ > "=d"(d) > :"a"(iFunction) > ); >+ #elseif __i386__ >+ asm >+ ( >+ "pushl %%ebx\n\t" >+ "cpuid\n\t" >+ "movl %%ebx, %%edi\n\t" >+ "popl %%ebx" >+ : "=a" (a), >+ "=D" (b), >+ "=c" (c), >+ "=d" (d) >+ :"a"(iFunction) >+ ); >+ #endif > #endif > return (*env)->NewObject(env, clsResult,constructor,a,b,c,d); > }
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 Raw
Actions:
View
Attachments on
bug 349784
:
258174
|
258175
|
258177
| 258178