Mercurial > mplayer.hg
view asmalign.h @ 18683:d940ecaff286
moves invariant code (chiefly MMX register initialization) out of loops as well as eliminating some memory accesses within the inner loop.
Patch by Zuxy Meng < zuxy POIS meng AH gmail POIS com >
Original thread:
Date: Mon, 12 Jun 2006 00:31:53 -0700 (PDT)
Subject [MPlayer-dev-eng] [PATCH] Loop invariant motion in libvo/osd_template.c
author | gpoirier |
---|---|
date | Mon, 12 Jun 2006 11:14:10 +0000 |
parents | 7b408d60de9e |
children |
line wrap: on
line source
#ifdef SYS_DARWIN #define ASMALIGN8 ".align 3\n\t" #define ASMALIGN16 ".align 4\n\t" #else #define ASMALIGN8 ".balign 8\n\t" #define ASMALIGN16 ".balign 16\n\t" #endif