aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/amd64_eng
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-07-07 20:37:27 +0000
committerlloyd <[email protected]>2009-07-07 20:37:27 +0000
commit5dd07b73e4e5c8f88f9b64273e8e4ab0862a0db8 (patch)
tree5416756616765df2f091905410724f3c66725caf /src/engine/amd64_eng
parent431223161669026caf687c6fd69625546a4c46fa (diff)
CPU-specific engines are now only loaded if something depends on them,
and all CPU-specific implementations now depend on the appropriate engine module. The most common problem before with this was that the SSE2 module was built, but the sole SSE2 code (SHA-1) was not (for instance, on an i686). This would cause a compile warning about the unused request object. Preventing unused engines from being built will also (very slightly) speed up the lookup process on most system.
Diffstat (limited to 'src/engine/amd64_eng')
-rw-r--r--src/engine/amd64_eng/info.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/engine/amd64_eng/info.txt b/src/engine/amd64_eng/info.txt
index 1d0283ad6..47f891445 100644
--- a/src/engine/amd64_eng/info.txt
+++ b/src/engine/amd64_eng/info.txt
@@ -2,13 +2,9 @@ realname "AMD64 Assembler Engine"
define ENGINE_AMD64_ASSEMBLER
-load_on auto
+load_on dep
<add>
eng_amd64.cpp
eng_amd64.h
</add>
-
-<arch>
-amd64
-</arch>