From: Takashi Iwai Date: Mon, 9 Feb 2004 18:07:47 +0000 (+0000) Subject: - save RBX register. X-Git-Tag: v1.0.3~13 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=0d810e14e128beffa83ee1a620fdfd9331132736;p=alsa-lib.git - save RBX register. --- diff --git a/src/pcm/pcm_dmix_x86_64.h b/src/pcm/pcm_dmix_x86_64.h index f4f5ba34..cbcb2cb4 100644 --- a/src/pcm/pcm_dmix_x86_64.h +++ b/src/pcm/pcm_dmix_x86_64.h @@ -46,6 +46,7 @@ static void MIX_AREAS1(unsigned int size, __asm__ __volatile__ ( "\n" + "\tpush %%rbx\n" /* * initialization, load ESI, EDI, EBX registers */ @@ -110,6 +111,7 @@ static void MIX_AREAS1(unsigned int size, "6:" "\temms\n" + "\tpop %%rbx\n" : /* no output regs */ : "m" (size), "m" (dst), "m" (src), "m" (sum), "m" (dst_step), "m" (src_step), "m" (sum_step) @@ -136,6 +138,7 @@ static void MIX_AREAS2(unsigned int size, __asm__ __volatile__ ( "\n" + "\tpush %%rbx\n" /* * initialization, load ESI, EDI, EBX registers */ @@ -220,6 +223,8 @@ static void MIX_AREAS2(unsigned int size, // "\tjmp 6f\n" "6:" + "\tpop %%rbx\n" + : /* no output regs */ : "m" (size), "m" (dst), "m" (src), "m" (sum), "m" (dst_step), "m" (src_step), "m" (sum_step) : "rsi", "rdi", "edx", "ecx", "rbx", "eax"