From 0d810e14e128beffa83ee1a620fdfd9331132736 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 9 Feb 2004 18:07:47 +0000 Subject: [PATCH] - save RBX register. --- src/pcm/pcm_dmix_x86_64.h | 5 +++++ 1 file changed, 5 insertions(+) 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" -- 2.47.1