Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
djvulibre.20250
djvulibre-always-assume-that-cpuid-works-on-x86...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File djvulibre-always-assume-that-cpuid-works-on-x86_64.patch of Package djvulibre.20250
--- a/libdjvu/MMX.cpp +++ b/libdjvu/MMX.cpp @@ -169,16 +169,10 @@ #endif #if defined(MMX) && defined(__GNUC__) && defined(__x86_64__) // Detection of MMX for GCC - __asm__ volatile (// Check that CR0:EM is clear - "xorl %%edx,%%edx\n\t" - "smsw %%ax\n\t" - "andl $4,%%eax\n\t" - "jnz 1f\n\t" - // Execute CPUID + __asm__ volatile (// Execute CPUID "movl $1,%%eax\n\t" - "cpuid\n" - // Finish - "1:\tmovl %%edx, %0" + "cpuid\n\t" + "movl %%edx, %0" : "=m" (cpuflags) : : "eax","ebx","ecx","edx"); #endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor