mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
svolume: remove unneeded compare
We don't need the compare because the sub operation already set the right flags for us.
This commit is contained in:
parent
601e5f1867
commit
a98fa950d2
2 changed files with 1 additions and 3 deletions
|
|
@ -72,7 +72,6 @@
|
|||
" add "#a", %3 \n\t" \
|
||||
" mov %3, %4 \n\t" \
|
||||
" sub "#b", %4 \n\t" \
|
||||
" cmp "#b", %3 \n\t" \
|
||||
" cmovae %4, %3 \n\t"
|
||||
|
||||
/* swap 16 bits */
|
||||
|
|
|
|||
|
|
@ -52,8 +52,7 @@
|
|||
" add "#a", %3 \n\t" /* channel += inc */ \
|
||||
" mov %3, %4 \n\t" \
|
||||
" sub "#b", %4 \n\t" /* tmp = channel - channels */ \
|
||||
" cmp "#b", %3 \n\t" /* if (channel >= channels) */ \
|
||||
" cmovae %4, %3 \n\t" /* channel = tmp */
|
||||
" cmovae %4, %3 \n\t" /* if (tmp >= 0) channel = tmp */
|
||||
|
||||
/* swap 16 bits */
|
||||
#define SWAP_16(s) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue