aboutsummaryrefslogtreecommitdiffstats
path: root/src/algo_factory
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-07-13 17:32:24 +0000
committerlloyd <[email protected]>2010-07-13 17:32:24 +0000
commite51e9aa6a6033710920f0934178ef770fd25498f (patch)
tree8f753df6deac2531c6792e277102d95dda7a3bc5 /src/algo_factory
parent2006b4d305039cb9ff18d21b65c37ba1f2c39819 (diff)
Consolidate the two engines that provided assembler implementations
(amd64_eng and ia32_eng) into a new asm_engine. This same engine could also be used in the event that asm code for other CPUs was added later on.
Diffstat (limited to 'src/algo_factory')
-rw-r--r--src/algo_factory/prov_weight.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/algo_factory/prov_weight.cpp b/src/algo_factory/prov_weight.cpp
index 0ca588aa9..f9c9a9634 100644
--- a/src/algo_factory/prov_weight.cpp
+++ b/src/algo_factory/prov_weight.cpp
@@ -21,8 +21,7 @@ u32bit static_provider_weight(const std::string& prov_name)
if(prov_name == "aes_isa") return 9;
if(prov_name == "simd") return 8;
- if(prov_name == "amd64") return 7;
- if(prov_name == "ia32") return 6;
+ if(prov_name == "asm") return 7;
if(prov_name == "core") return 5;