More "elegant" fix for the 64 bit SSE issue, done with rbx restoring

reordering instead of the clobber list. Same reordering done for x86/32 
as well.


git-svn-id: svn://localhost/ardour2/trunk@1288 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Sampo Savolainen
2007-01-08 22:11:31 +00:00
parent aef906ea9d
commit 40cfe86141

View File

@@ -207,9 +207,9 @@ setup_hardware_optimization (bool try_optimization)
"mov $1, %%eax\n"
"pushl %%ebx\n"
"cpuid\n"
"popl %%ebx\n"
"andl $33554432, %%edx\n"
"movl %%edx, %0\n"
"popl %%ebx\n"
: "=m" (use_sse)
:
: "%eax", "%ecx", "%edx", "memory");
@@ -219,12 +219,12 @@ setup_hardware_optimization (bool try_optimization)
"movq $1, %%rax\n"
"pushq %%rbx\n"
"cpuid\n"
"popq %%rbx\n"
"andq $33554432, %%rdx\n"
"movq %%rdx, %0\n"
"popq %%rbx\n"
: "=m" (use_sse)
:
: "%rax", "%rbx", "%rcx", "%rdx", "memory");
: "%rax", "%rcx", "%rdx", "memory");
#endif /* USE_X86_64_ASM */