opus_pvq_search: only use rsqrtps approximation on CPUs with avx
authorRostislav Pehlivanov <atomnuker@gmail.com>
Fri, 18 Aug 2017 16:28:40 +0000 (17:28 +0100)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Fri, 18 Aug 2017 16:30:41 +0000 (17:30 +0100)
commitf386dd70acdc81d42d6bcb885d2889634cdf45b7
treeb6b29e9200dcfcfea9921cf93b678598ed529309
parent8e53cd1fab86b8774f0b5b0f186d8e0cd9c1895b
opus_pvq_search: only use rsqrtps approximation on CPUs with avx

Makes the search produce idential results with the C version.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
libavcodec/x86/opus_pvq_search.asm