diff options
author | Jaroslav Kysela <perex@perex.cz> | 2008-01-10 10:01:14 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-10 10:01:14 +0100 |
commit | 70b11d614d6f7c13ea8c3fe81e7b34430fba389d (patch) | |
tree | b2b1945ce5ccdcd03a396607ddf4946b931c9ac8 /src/pcm/pcm_dmix_x86_64.h | |
parent | 8f16428f9cb66026bb62fe67ae10a32240a16db4 (diff) | |
download | alsa-lib-70b11d614d6f7c13ea8c3fe81e7b34430fba389d.tar.gz |
Implemented snd_pcm_rewind() for the dmix plugin
Diffstat (limited to 'src/pcm/pcm_dmix_x86_64.h')
-rw-r--r-- | src/pcm/pcm_dmix_x86_64.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pcm/pcm_dmix_x86_64.h b/src/pcm/pcm_dmix_x86_64.h index 6ad81337..45627343 100644 --- a/src/pcm/pcm_dmix_x86_64.h +++ b/src/pcm/pcm_dmix_x86_64.h @@ -79,9 +79,9 @@ static void MIX_AREAS_16(unsigned int size, "\t" LOCK_PREFIX "cmpxchgw %%cx, (%%rdi)\n" "\tmovswl (%%rsi), %%ecx\n" "\tjnz 2f\n" - "\tsubl %%edx, %%ecx\n" + "\t" XSUB " %%edx, %%ecx\n" "2:" - "\t" LOCK_PREFIX "addl %%ecx, (%%rbx)\n" + "\t" LOCK_PREFIX XADD " %%ecx, (%%rbx)\n" /* * do { @@ -176,14 +176,14 @@ static void MIX_AREAS_32(unsigned int size, "\tmovl (%%rsi), %%ecx\n" /* sample >>= 8 */ "\tsarl $8, %%ecx\n" - "\tsubl %%edx, %%ecx\n" + "\t" XSUB " %%edx, %%ecx\n" "\tjmp 21f\n" "2:" "\tmovl (%%rsi), %%ecx\n" /* sample >>= 8 */ "\tsarl $8, %%ecx\n" "21:" - "\t" LOCK_PREFIX "addl %%ecx, (%%rbx)\n" + "\t" LOCK_PREFIX XADD " %%ecx, (%%rbx)\n" /* * do { @@ -290,9 +290,9 @@ static void MIX_AREAS_24(unsigned int size, "\t" LOCK_PREFIX "btsl $0, (%%rdi)\n" "\t.byte 0x67, 0x8d, 0x0c, 0x01\n" "\tjc 2f\n" - "\tsubl %%edx, %%ecx\n" + "\t" XSUB " %%edx, %%ecx\n" "2:" - "\t" LOCK_PREFIX "addl %%ecx, (%%rbx)\n" + "\t" LOCK_PREFIX XADD " %%ecx, (%%rbx)\n" /* * do { |