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

jm at motherfish-iii.xiph.org jm at motherfish-iii.xiph.org
Wed Feb 9 00:14:20 PST 2005


Author: jm
Date: 2005-02-09 00:14:19 -0800 (Wed, 09 Feb 2005)
New Revision: 8890

Modified:
   trunk/speex/libspeex/ltp_arm4.h
Log:
reordering asm


Modified: trunk/speex/libspeex/ltp_arm4.h
===================================================================
--- trunk/speex/libspeex/ltp_arm4.h	2005-02-09 08:02:51 UTC (rev 8889)
+++ trunk/speex/libspeex/ltp_arm4.h	2005-02-09 08:14:19 UTC (rev 8890)
@@ -100,7 +100,7 @@
       for (j=0;j<len;j+=4)
       {
          spx_word32_t part1, part2, part3, part4, x0;
-         spx_word16_t z0,z1,z2,z3;
+         spx_word32_t dead1;
          __asm__ __volatile__ (
                "\tldrsh %10, [%8], #2 \n"
                "\tmul %4, %10, %0 \n"
@@ -133,22 +133,22 @@
 
 
                "\tldr %10, %11 \n"
+               "\tldr %15, %12 \n"
                "\tadd %4, %10, %4, asr #6 \n"
-               "\tldr %10, %12 \n"
                "\tstr %4, %11 \n"
-               "\tadd %5, %10, %5, asr #6 \n"
                "\tldr %10, %13 \n"
+               "\tadd %5, %15, %5, asr #6 \n"
                "\tstr %5, %12 \n"
+               "\tldr %15, %14 \n"
                "\tadd %6, %10, %6, asr #6 \n"
-               "\tldr %10, %14 \n"
+               "\tadd %7, %15, %7, asr #6 \n"
                "\tstr %6, %13 \n"
-               "\tadd %7, %10, %7, asr #6 \n"
                "\tstr %7, %14 \n"
 
             : "=r" (y0), "=r" (y1), "=r" (y2), "=r" (y3),
          "=r" (part1),  "=r" (part2),  "=r" (part3),  "=r" (part4),
          "=r" (x), "=r" (y), "=r" (x0),
-         "=m" (sum1), "=m" (sum2), "=m" (sum3), "=m" (sum4)
+         "=m" (sum1), "=m" (sum2), "=m" (sum3), "=m" (sum4), "=r" (dead1)
             : "0" (y0), "1" (y1), "2" (y2), "3" (y3),
             "8" (x), "9" (y),
             "11" (sum1), "12" (sum2), "13" (sum3), "14" (sum4)



More information about the commits mailing list