Displaying 1 result from an estimated 1 matches for "dhave_mmx".
2003 May 08
3
MMX and extended-MMX acceleration patch for encoding
...ants and I have implemented several variants: C, MMX
assembly and MMXEXT assembly (something like SSE maybe, recent extensions
apparently, found in PIII and Athlon).
Preprocessor directive HAVE_MMX and HAVE_MMXEXT allow to select at
compile-time which code gets used for real. So, use CFLAGS="-DHAVE_MMX" to
get the MMX implementation, and CFLAGS="-DHAVE_MMX -DHAVE_MMXEXT" to get
the MMXEXT implementation (which uses both MMX and extMMX instructions).
The wrappers also allow back-to-back testing of the C and assembly
implementations (very useful for testing). Use -DTEST_MMX for this...