Check avx2_available in check_avx2_available
authorH.J. Lu <hongjiu.lu@intel.com>
Mon, 1 Apr 2019 18:34:00 +0000 (18:34 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Mon, 1 Apr 2019 18:34:00 +0000 (11:34 -0700)
commitb33ef29fffa01c710fcd09d594efa204d457d59f
tree66d120aebff0146134edc61afa8d0c183c19aff7
parent4b52560099c1b744a0e639daea4805fe10fb3219
Check avx2_available in check_avx2_available

check_avx2_available should check avx2_available, instead of avx_available.
Otherwise, check_avx2_available may use result from check_avx_available.

PR testsuite/89907
* lib/target-supports.exp (check_avx2_available): Replace
avx_available with avx2_available.

From-SVN: r270066
gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp