mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Fixed saturation for i386
This commit is contained in:
parent
359cfd644e
commit
c25bf7ef7b
1 changed files with 3 additions and 3 deletions
|
|
@ -644,7 +644,7 @@ static void mix_areas1(unsigned int size,
|
|||
|
||||
"4:"
|
||||
"\tmovw $0x7fff, %%ax\n"
|
||||
"\tmovw (%%edi), %%ax\n"
|
||||
"\tmovw %%ax, (%%edi)\n"
|
||||
"\tcmpl %%ecx,(%%ebx)\n"
|
||||
"\tjnz 3b\n"
|
||||
"\tadd %4, %%edi\n"
|
||||
|
|
@ -660,8 +660,8 @@ static void mix_areas1(unsigned int size,
|
|||
|
||||
"5:"
|
||||
"\tmovw $-0x8000, %%ax\n"
|
||||
"\tmovw (%%edi), %%ax\n"
|
||||
"\tcmpl %%ecx,(%%ebx)\n"
|
||||
"\tmovw %%ax, (%%edi)\n"
|
||||
"\tcmpl %%ecx, (%%ebx)\n"
|
||||
"\tjnz 3b\n"
|
||||
"\tadd %4, %%edi\n"
|
||||
"\tadd %5, %%esi\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue