summaryrefslogtreecommitdiff
path: root/lcs_sse.c
diff options
context:
space:
mode:
authorEric Anderson <ejona86@gmail.com>2010-12-27 22:52:25 -0600
committerEric Anderson <ejona86@gmail.com>2010-12-27 22:52:25 -0600
commitd29aa371dc07b8118ec664a1ad26bb380559ab26 (patch)
treea35fdf163d26d536b8dd87a61d2c59519c556608 /lcs_sse.c
parent1389d0e5a3c4299064d0464bdb48cc459693e8cb (diff)
downloadmd5game-d29aa371dc07b8118ec664a1ad26bb380559ab26.tar.gz
md5game-d29aa371dc07b8118ec664a1ad26bb380559ab26.zip
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.
Diffstat (limited to 'lcs_sse.c')
-rw-r--r--lcs_sse.c5
1 files changed, 1 insertions, 4 deletions
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