diff options
author | lloyd <[email protected]> | 2009-07-07 20:37:27 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-07-07 20:37:27 +0000 |
commit | 5dd07b73e4e5c8f88f9b64273e8e4ab0862a0db8 (patch) | |
tree | 5416756616765df2f091905410724f3c66725caf /src/engine/sse2_eng | |
parent | 431223161669026caf687c6fd69625546a4c46fa (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/sse2_eng')
-rw-r--r-- | src/engine/sse2_eng/info.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/sse2_eng/info.txt b/src/engine/sse2_eng/info.txt index c44180ca4..6242c7fee 100644 --- a/src/engine/sse2_eng/info.txt +++ b/src/engine/sse2_eng/info.txt @@ -2,7 +2,7 @@ realname "SSE2 Assembler Engine" define ENGINE_SSE2_ASSEMBLER -load_on auto +load_on dep <add> eng_sse2.cpp |