Use AVX; fallback to SSE4.2

Use AVX; fallback to SSE4.2

Аватар пользователя Levi Morrison

After searching the documentation, I could not find a way to use AVX instructions if available, if not, use SSE4.2 instructions and if those aren't available don't optimize. Have I simply missed something? I hope this is possible.

2 posts / 0 новое
Последнее сообщение
Пожалуйста, обратитесь к странице Уведомление об оптимизации для более подробной информации относительно производительности и оптимизации в программных продуктах компании Intel.
Аватар пользователя TimP (Intel)

If "do nothing" means abort on account of lack of architecture support, with Intel Windows compilers you might set
/QaxAVX /QxSSE4.2

Зарегистрируйтесь, чтобы оставить комментарий.