From da076c868c5da1e26924990266922207d9926233 Mon Sep 17 00:00:00 2001 From: Tobin Davis Date: Mon, 21 Aug 2006 19:12:33 +0200 Subject: [PATCH] Fix build issue on earler x86_64 based distributions This patch fixes a build issue on systems with Gnu assembler prior to 2.15.92. Instead of having the inline assembler translate the leal function on a 32 bit register, it is byte encoded. Signed-off-by: Tobin Davis --- src/pcm/pcm_dmix_x86_64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pcm/pcm_dmix_x86_64.h b/src/pcm/pcm_dmix_x86_64.h index 13486138..b7fa6baa 100644 --- a/src/pcm/pcm_dmix_x86_64.h +++ b/src/pcm/pcm_dmix_x86_64.h @@ -288,7 +288,7 @@ static void MIX_AREAS3(unsigned int size, "\tmovl (%%rbx), %%edx\n" "\tsall $16, %%eax\n" "\t" LOCK_PREFIX "btsl $0, (%%rdi)\n" - "\tleal (%%ecx,%%eax,1), %%ecx\n" + "\t.byte 0x67, 0x8d, 0x0c, 0x01\n" "\tjc 2f\n" "\tsubl %%edx, %%ecx\n" "2:" -- 2.47.1