From d29aa371dc07b8118ec664a1ad26bb380559ab26 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Mon, 27 Dec 2010 22:52:25 -0600 Subject: Reorganize structure and defines so that things are more understandable Most things are always "compiled" now, but testing did show that gcc's dead code elimination successfully removes them from the executable. Testing did not show any performance impact. --- lcs_sse.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lcs_sse.c') diff --git a/lcs_sse.c b/lcs_sse.c index 487aef2..c8d0675 100644 --- a/lcs_sse.c +++ b/lcs_sse.c @@ -36,9 +36,7 @@ "and %%edx, %%ecx\n\t" \ "or %%ecx, %0\n\t" \ -#ifdef USE_LCS5 - -int lcs_32_rough(const uint32_t * const str1, const uint32_t * const str2) { +int lcs_32_rough_5(const uint32_t * const str1, const uint32_t * const str2) { register unsigned int x; #ifndef __SSE3__ @@ -155,4 +153,3 @@ int lcs_32_rough(const uint32_t * const str1, const uint32_t * const str2) { return ((x != 0) ? 8 : 0); } -#endif -- cgit v1.2.3-70-g09d2