backport: target-supports.exp (check_avx2_hw_available): Fix breakage due NULL being undefined.
Backport from mainline 2017-08-23 Daniel Santos <daniel.santos@pobox.com> * lib/target-supports.exp (check_avx2_hw_available): Fix breakage due NULL being undefined. From-SVN: r251336
This commit is contained in:
parent
6de5fdb3d8
commit
9c1c75946f
@ -1,3 +1,11 @@
|
||||
2017-05-19 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
Backport from mainline
|
||||
2017-08-23 Daniel Santos <daniel.santos@pobox.com>
|
||||
|
||||
* lib/target-supports.exp (check_avx2_hw_available):
|
||||
Fix breakage due NULL being undefined.
|
||||
|
||||
2017-08-23 Peter Bergner <bergner@vnet.ibm.com>
|
||||
|
||||
Backport from mainline
|
||||
|
@ -1777,6 +1777,7 @@ proc check_avx2_hw_available { } {
|
||||
expr 0
|
||||
} else {
|
||||
check_runtime_nocache avx2_hw_available {
|
||||
#include <stddef.h>
|
||||
#include "cpuid.h"
|
||||
int main ()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user