Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c856cf0d authored by Andy Hung's avatar Andy Hung Committed by Android (Google) Code Review
Browse files

Merge "AudioResampler: Workaround for Clang assembly bug"

parents 22e20cfa 9145202c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ int32_t mulAdd(int32_t in, int32_t v, int32_t a)
static inline
int32_t mulAddRL(int left, uint32_t inRL, int16_t v, int32_t a)
{
#if USE_INLINE_ASSEMBLY
#if 0 // USE_INLINE_ASSEMBLY Seems to fail with Clang b/34110890
    int32_t out;
    if (left) {
        asm( "smlabb %[out], %[v], %[inRL], %[a] \n"
@@ -142,7 +142,7 @@ int32_t mulAddRL(int left, uint32_t inRL, int16_t v, int32_t a)
static inline
int32_t mulAddRL(int left, uint32_t inRL, int32_t v, int32_t a)
{
#if USE_INLINE_ASSEMBLY
#if 0 // USE_INLINE_ASSEMBLY Seems to fail with Clang b/34110890
    int32_t out;
    if (left) {
        asm( "smlawb %[out], %[v], %[inRL], %[a] \n"