]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Fix build issue on earler x86_64 based distributions
authorTobin Davis <tobinx.b.davis@intel.com>
Mon, 21 Aug 2006 17:12:33 +0000 (19:12 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 21 Aug 2006 17:12:33 +0000 (19:12 +0200)
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 <tobinx.b.davis@intel.com>
src/pcm/pcm_dmix_x86_64.h

index 134861384525f646537c5b8407d90c2e91c55f34..b7fa6baa49bcc2c49c513cf03aa8cecbebcab13e 100644 (file)
@@ -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:"