[opus] [PATCH 2/2] arm: Use the UAL syntax for sub<cc>s instructions

Martin Storsjo martin at martin.st
Fri Feb 7 10:28:54 PST 2014


This is required in order to build using the built-in assembler
in clang.
---
 celt/arm/celt_pitch_xcorr_arm.s | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/celt/arm/celt_pitch_xcorr_arm.s b/celt/arm/celt_pitch_xcorr_arm.s
index 3c4b950..598e45b 100644
--- a/celt/arm/celt_pitch_xcorr_arm.s
+++ b/celt/arm/celt_pitch_xcorr_arm.s
@@ -390,7 +390,7 @@ celt_pitch_xcorr_edsp_process1u_loop1
   LDRHGE       r6, [r4], #2
   ; Stall
   SMLABBGE     r14, r6, r8, r14    ; sum = MAC16_16(sum, *x, *y)
-  SUBGES       r12, r12, #1
+  SUBSGE       r12, r12, #1
   LDRHGT       r8, [r5], #2
   BGT celt_pitch_xcorr_edsp_process1u_loop1
   ; Restore _x
-- 
1.8.3.4 (Apple Git-47)



More information about the opus mailing list