mirror of
https://github.com/intel/isa-l.git
synced 2025-12-24 06:14:30 +01:00
Using highest-level instruction set may not reveal the best performance on certain platform. E.g. using AVX impl for ec updating instead of AVX2 impl can be faster on Hygon 1/2/3 platform. This commit identifies Hygon platform and use a special dispatch case for ec_encode_data_update to choose certain instruction set impl. Signed-off-by: Maodi Ma <mamaodi@hygon.cn>