]> git.sesse.net Git - ffmpeg/commitdiff
aarch64: vp9itxfm16: Avoid .irp when it doesn't save any lines
authorMartin Storsjö <martin@martin.st>
Sat, 25 Feb 2017 22:28:12 +0000 (00:28 +0200)
committerMartin Storsjö <martin@martin.st>
Sun, 19 Mar 2017 20:54:09 +0000 (22:54 +0200)
This makes the code a bit more readable.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/aarch64/vp9itxfm_16bpp_neon.S

index f80604f95435cf0401bccb90153795010a899bdb..86ea29ec10717f763018d8aef80008734332f383 100644 (file)
@@ -886,21 +886,21 @@ function \txfm\()16_1d_4x16_pass1_neon
         // for the first slice of the second pass (where it is the
         // last 4x4 block).
         add             x0,  x0,  #16
-.irp i, 20, 24, 28
-        store           \i,  x0,  #16
-.endr
+        st1             {v20.4s},  [x0], #16
+        st1             {v24.4s},  [x0], #16
+        st1             {v28.4s},  [x0], #16
         add             x0,  x0,  #16
-.irp i, 21, 25, 29
-        store           \i,  x0,  #16
-.endr
+        st1             {v21.4s},  [x0], #16
+        st1             {v25.4s},  [x0], #16
+        st1             {v29.4s},  [x0], #16
         add             x0,  x0,  #16
-.irp i, 22, 26, 30
-        store           \i,  x0,  #16
-.endr
+        st1             {v22.4s},  [x0], #16
+        st1             {v26.4s},  [x0], #16
+        st1             {v30.4s},  [x0], #16
         add             x0,  x0,  #16
-.irp i, 23, 27, 31
-        store           \i,  x0,  #16
-.endr
+        st1             {v23.4s},  [x0], #16
+        st1             {v27.4s},  [x0], #16
+        st1             {v31.4s},  [x0], #16
 
         mov             v28.16b, v16.16b
         mov             v29.16b, v17.16b