Browse Source

sws: better MOVNTQ macro

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Michael Niedermayer 14 years ago
parent
commit
f15359727d
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libswscale/x86/swscale_template.c

+ 3
- 0
libswscale/x86/swscale_template.c View File

@@ -20,6 +20,7 @@

#undef REAL_MOVNTQ
#undef MOVNTQ
#undef MOVNTQ2
#undef PREFETCH

#if COMPILE_TEMPLATE_MMX2
@@ -30,8 +31,10 @@

#if COMPILE_TEMPLATE_MMX2
#define REAL_MOVNTQ(a,b) "movntq " #a ", " #b " \n\t"
#define MOVNTQ2 "movntq "
#else
#define REAL_MOVNTQ(a,b) "movq " #a ", " #b " \n\t"
#define MOVNTQ2 "movq "
#endif
#define MOVNTQ(a,b) REAL_MOVNTQ(a,b)



Loading…
Cancel
Save