[Ffmpeg-cvslog] r7762 - trunk/libavcodec/armv4l/simple_idct_armv6.S

mru subversion
Mon Jan 29 23:25:54 CET 2007


Author: mru
Date: Mon Jan 29 23:25:54 2007
New Revision: 7762

Modified:
   trunk/libavcodec/armv4l/simple_idct_armv6.S

Log:
theoretically save one cycle


Modified: trunk/libavcodec/armv4l/simple_idct_armv6.S
==============================================================================
--- trunk/libavcodec/armv4l/simple_idct_armv6.S	(original)
+++ trunk/libavcodec/armv4l/simple_idct_armv6.S	Mon Jan 29 23:25:54 2007
@@ -72,13 +72,13 @@
         ldr    lr, [a1, #12]         /* lr = row[7,5] */
         pkhtb  a3, ip, v7, asr #16   /* a4 = W7 | (W3 << 16) */
         pkhbt  a2, ip, v7, lsl #16   /* a2 = W1 | (W5 << 16) */
+        smusdx v6, a3, a4            /* v6 = -B1 = W7*row[3] - W3*row[1] */
         smlad  v5, lr, v7, v5        /* B0 += W5*row[5] + W7*row[7] */
         smusdx v7, a4, a2            /* v7 = B2 = W5*row[1] - W1*row[3] */
-        smusdx v6, a3, a4            /* v6 = -B1 = W7*row[3] - W3*row[1] */
 
+        ldr    a4, [pc, #(w42n-.-8)] /* a4 = -W4 | (-W2 << 16) */
         smlad  v7, lr, a3, v7        /* B2 += W7*row[5] + W3*row[7] */
         ldr    a3, [a1, #4]          /* a3 = row[6,4] */
-        ldr    a4, [pc, #(w42n-.-8)] /* a4 = -W4 | (-W2 << 16) */
         smlsdx fp, lr, ip, fp        /* B3 += W3*row[5] - W1*row[7] */
         ldr    ip, [pc, #(w46-.-8)]  /* ip = W4 | (W6 << 16) */
         smlad  v6, lr, a2, v6        /* B1 -= W1*row[5] + W5*row[7] */




More information about the ffmpeg-cvslog mailing list