diff options
author | Martin Storsjo <martin@martin.st> | 2014-02-08 18:29:53 +0400 |
---|---|---|
committer | Tristan Matthews <le.businessman@gmail.com> | 2014-02-08 18:31:56 +0400 |
commit | 78cce679a0f2d376b97e64a6d7763bce82dd06cc (patch) | |
tree | 2a0f778784804d5efb8073364b27f49a6007e95a | |
parent | 6ae7f8616bffd92a2059ac456a59801d46a11dad (diff) |
arm: Remove a superfluous 's' suffix from the cmp instruction
The 's' suffix on the cmp instruction is deprecated and
superfluous since the cmp instruction always sets conditional
flags.
This fixes building for iOS with inline assembly enabled.
Signed-off-by: Tristan Matthews <le.businessman@gmail.com>
-rw-r--r-- | libspeex/filters_arm4.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libspeex/filters_arm4.h b/libspeex/filters_arm4.h index 7a74042..2c64625 100644 --- a/libspeex/filters_arm4.h +++ b/libspeex/filters_arm4.h @@ -46,9 +46,9 @@ int normalize16(const spx_sig_t *x, spx_word16_t *y, spx_sig_t max_scale, int le ".normalize16loop1%=: \n" "\tldr %4, [%0], #4 \n" - "\tcmps %4, %1 \n" + "\tcmp %4, %1 \n" "\tmovgt %1, %4 \n" - "\tcmps %4, %3 \n" + "\tcmp %4, %3 \n" "\tmovlt %3, %4 \n" "\tsubs %2, %2, #1 \n" |