[xiph-commits] r8857 - trunk/speex/libspeex

jm at motherfish-iii.xiph.org jm at motherfish-iii.xiph.org
Mon Feb 7 02:01:51 PST 2005


Author: jm
Date: 2005-02-07 02:01:50 -0800 (Mon, 07 Feb 2005)
New Revision: 8857

Modified:
   trunk/speex/libspeex/filters_arm4.h
   trunk/speex/libspeex/ltp_arm4.h
Log:
added some %= signs for labels


Modified: trunk/speex/libspeex/filters_arm4.h
===================================================================
--- trunk/speex/libspeex/filters_arm4.h	2005-02-07 09:03:42 UTC (rev 8856)
+++ trunk/speex/libspeex/filters_arm4.h	2005-02-07 10:01:50 UTC (rev 8857)
@@ -41,7 +41,7 @@
          "\tmov %1, #1 \n"
          "\tmov %3, #0 \n"
 
-         ".normalize16loop1: \n"
+         ".normalize16loop1%=: \n"
 
          "\tldr %4, [%0], #4 \n"
          "\tcmps %4, %1 \n"
@@ -50,7 +50,7 @@
          "\tmovlt %3, %4 \n"
 
          "\tsubs %2, %2, #1 \n"
-         "\tbne .normalize16loop1\n"
+         "\tbne .normalize16loop1%=\n"
 
          "\trsb %3, %3, #0 \n"
          "\tcmp %1, %3 \n"
@@ -68,7 +68,7 @@
    }
    
    __asm__ __volatile__ (
-         ".normalize16loop: \n"
+         ".normalize16loop%=: \n"
 
          "\tldr %4, [%0], #4 \n"
          "\tldr %5, [%0], #4 \n"
@@ -84,7 +84,7 @@
          "\tmov %5, %5, asr %3 \n"
          "\tstrh %5, [%1], #2 \n"
 
-         "\tbge .normalize16loop\n"
+         "\tbge .normalize16loop%=\n"
    : "=r" (dead1), "=r" (dead2), "=r" (dead3), "=r" (dead4),
    "=r" (dead5), "=r" (dead6)
    : "0" (x), "1" (y), "2" (len>>2), "3" (sig_shift)
@@ -108,7 +108,7 @@
       __asm__ __volatile__ (
             "\tldrsh %6, [%1], #2\n"
             "\tsmull %8, %9, %4, %6\n"
-            ".filterloop: \n"
+            ".filterloop%=: \n"
             "\tldrsh %6, [%2], #2\n"
             "\tldr %10, [%0, #4]\n"
             "\tmov %8, %8, lsr #15\n"
@@ -121,7 +121,7 @@
             "\tsubs %3, %3, #1\n"
             "\tadd %10, %10, %11, lsl #17\n"
             "\tstr %10, [%0], #4 \n"
-            "\t bne .filterloop\n"
+            "\t bne .filterloop%=\n"
 
             "\tmov %8, %8, lsr #15\n"
             "\tadd %10, %8, %9, lsl #17\n"
@@ -156,7 +156,7 @@
             "\tldrsh %4, [%1], #2\n"
             "\tsmull %5, %6, %3, %4\n"
 
-            ".iirloop: \n"
+            ".iirloop%=: \n"
             "\tldr %7, [%0, #4]\n"
 
             "\tldrsh %4, [%1], #2\n"
@@ -166,7 +166,7 @@
             "\tadd %7, %7, %8\n"
             "\tstr %7, [%0], #4 \n"
             "\tsubs %2, %2, #1\n"
-            "\t bne .iirloop\n"
+            "\t bne .iirloop%=\n"
 
             "\tmov %5, %5, lsr #15\n"
             "\tadd %7, %5, %6, lsl #17\n"

Modified: trunk/speex/libspeex/ltp_arm4.h
===================================================================
--- trunk/speex/libspeex/ltp_arm4.h	2005-02-07 09:03:42 UTC (rev 8856)
+++ trunk/speex/libspeex/ltp_arm4.h	2005-02-07 10:01:50 UTC (rev 8857)
@@ -37,7 +37,7 @@
    __asm__ __volatile__ (
          "\tldrsh %5, [%0], #2 \n"
          "\tldrsh %6, [%1], #2 \n"
-         ".inner_prod_loop:\n"
+         ".inner_prod_loop%=:\n"
          "\tsub %7, %7, %7\n"
          "\tsub %10, %10, %10\n"
 
@@ -70,7 +70,7 @@
          "\tsubs %4, %4, #1\n"
          "\tadd %2, %2, %7, asr #5\n"
          "\tadd %3, %3, %10, asr #5\n"
-         "\tbne .inner_prod_loop\n"
+         "\tbne .inner_prod_loop%=\n"
    : "=r" (deadx), "=r" (deady), "=r" (sum1),  "=r" (sum2), "=r" (deadlen),
    "=r" (dead1), "=r" (dead2), "=r" (dead3), "=r" (dead4), "=r" (dead5), "=r" (dead6)
    : "0" (x), "1" (y), "2" (sum1), "3" (sum2), "4" (len>>3)



More information about the commits mailing list