[x264-devel] commit: Slightly faster dequant_flat assembly (Jason Garrett-Glaser )

git version control git at videolan.org
Tue Jul 7 10:17:21 CEST 2009


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Fri Jul  3 02:33:44 2009 -0700| [3f6713d5c794d4fbfd3131985e33a822a40cb870] | committer: Jason Garrett-Glaser 

Slightly faster dequant_flat assembly
Eliminate some redundant shifts.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=3f6713d5c794d4fbfd3131985e33a822a40cb870
---

 common/x86/quant-a.asm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/x86/quant-a.asm b/common/x86/quant-a.asm
index 284cbbb..52e121a 100644
--- a/common/x86/quant-a.asm
+++ b/common/x86/quant-a.asm
@@ -305,6 +305,7 @@ QUANT_AC x264_quant_8x8_sse4, 8
 
 %macro DEQUANT16_FLAT 2-5
     mova   m0, %1
+    psllw  m0, m4
 %assign i %0-2
 %rep %0-1
 %if i
@@ -313,7 +314,6 @@ QUANT_AC x264_quant_8x8_sse4, 8
 %else
     pmullw m0, [r0+%2]
 %endif
-    psllw  m %+ i, m4
     mova   [r0+%2], m %+ i
     %assign i i-1
     %rotate 1



More information about the x264-devel mailing list