From: Steve Underwood Date: Mon, 5 May 2014 00:33:55 +0000 (+0800) Subject: Fixed some ARM embedded assembly language typos X-Git-Tag: v1.5.12~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29ea8e9979bd2737af4d6cdcb9d5e42bcd423cb2;p=thirdparty%2Ffreeswitch.git Fixed some ARM embedded assembly language typos --- diff --git a/libs/spandsp/src/spandsp/saturated.h b/libs/spandsp/src/spandsp/saturated.h index db9baf4f4b..4cc61a81d5 100644 --- a/libs/spandsp/src/spandsp/saturated.h +++ b/libs/spandsp/src/spandsp/saturated.h @@ -219,7 +219,7 @@ static __inline__ int16_t sat_add16(int16_t x, int16_t y) int16_t z; __asm__ __volatile__( - " qadd16 %[z],%[c],%[y];\n" + " qadd16 %[z],%[x],%[y];\n" : [z] "=r" (z) : [x] "r" (x), [y] "r" (y) ); @@ -330,7 +330,7 @@ static __inline__ int16_t sat_mul16(int16_t x, int16_t y) int32_t z; #if defined(__GNUC__) && (defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_7A__)) - __asm__ __volatile__(" smulbb %[z],%[c],%[y];\n" + __asm__ __volatile__(" smulbb %[z],%[x],%[y];\n" " qadd %[z],%[z],%[z];\n" : [z] "=r" (z) : [x] "r" (x), [y] "r" (y));