[FFmpeg-cvslog] r12168 - trunk/doc/optimization.txt

michael subversion
Thu Feb 21 14:02:31 CET 2008


Author: michael
Date: Thu Feb 21 14:02:31 2008
New Revision: 12168

Log:
"General Tips" section


Modified:
   trunk/doc/optimization.txt

Modified: trunk/doc/optimization.txt
==============================================================================
--- trunk/doc/optimization.txt	(original)
+++ trunk/doc/optimization.txt	Thu Feb 21 14:02:31 2008
@@ -151,6 +151,22 @@ The minimum guaranteed alignment is writ
     void (*put_pixels_clamped)(const DCTELEM *block/*align 16*/, UINT8 *pixels/*align 8*/, int line_size);
 
 
+General Tips:
+-------------
+Use asm loops like:
+asm(
+    "1: ....
+    ...
+    "jump_instruciton ....
+dont use C loops:
+do{
+    asm(
+        ...
+}while()
+
+Use asm() instead of intrinsics. Later require a good optimizing compiler
+which gcc is not.
+
 
 Links:
 ======




More information about the ffmpeg-cvslog mailing list