From: Tobin Davis Date: Mon, 21 Aug 2006 17:12:33 +0000 (+0200) Subject: Fix build issue on earler x86_64 based distributions X-Git-Tag: v1.0.12~4 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=da076c868c5da1e26924990266922207d9926233;p=alsa-lib.git 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 --- 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:"