From a7a6f464adadb756362b2679121477dc442da5c4 Mon Sep 17 00:00:00 2001 From: Sampo Savolainen Date: Sat, 13 Jan 2007 23:39:14 +0000 Subject: [PATCH] Correct asm constraint. git-svn-id: svn://localhost/ardour2/trunk@1324 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/globals.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc index 41fc3db161..d0ee94dca7 100644 --- a/libs/ardour/globals.cc +++ b/libs/ardour/globals.cc @@ -210,7 +210,7 @@ setup_hardware_optimization (bool try_optimization) "cpuid\n" "movl %%edx, %0\n" "popl %%ebx\n" - : "=l" (use_sse) + : "=r" (use_sse) : : "%eax", "%ecx", "%edx", "memory"); @@ -222,7 +222,7 @@ setup_hardware_optimization (bool try_optimization) "cpuid\n" "movq %%rdx, %0\n" "popq %%rbx\n" - : "=l" (use_sse) + : "=r" (use_sse) : : "%rax", "%rcx", "%rdx", "memory");