changeset 5561:225867be27f7 libavcodec

Simplify and optimize the 4th vertical lifting step of the MMX code This also reduces the needed headroom in that step by 1 bit
author michael
date Tue, 21 Aug 2007 00:02:19 +0000
parents 2e63bd8e894d
children 0074dd43ae5e
files i386/snowdsp_mmx.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/i386/snowdsp_mmx.c	Mon Aug 20 23:59:20 2007 +0000
+++ b/i386/snowdsp_mmx.c	Tue Aug 21 00:02:19 2007 +0000
@@ -604,9 +604,8 @@
         snow_vertical_compose_mmx_store(REG_c,"mm0","mm2","mm4","mm6")
         snow_vertical_compose_mmx_add(REG_S,"mm0","mm2","mm4","mm6")
         snow_vertical_compose_mmx_move("mm0","mm2","mm4","mm6","mm1","mm3","mm5","mm7")
-        snow_vertical_compose_mmx_r2r_add("mm0","mm2","mm4","mm6","mm0","mm2","mm4","mm6")
+        snow_vertical_compose_mmx_sra("1","mm0","mm2","mm4","mm6")
         snow_vertical_compose_mmx_r2r_add("mm1","mm3","mm5","mm7","mm0","mm2","mm4","mm6")
-        snow_vertical_compose_mmx_sra("1","mm0","mm2","mm4","mm6")
         snow_vertical_compose_mmx_add(REG_a,"mm0","mm2","mm4","mm6")
         snow_vertical_compose_mmx_store(REG_a,"mm0","mm2","mm4","mm6")