efd: move AVX2 lookup in its own compilation unit