* lib/target-supports.exp
(check_effective_target_vect_sizes_32B_16B): Return false if 128-bit AVX vectors preferred. From-SVN: r210617
This commit is contained in:
parent
128ded1e86
commit
68038e6a2d
2 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2014-05-19 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* lib/target-supports.exp
|
||||
(check_effective_target_vect_sizes_32B_16B): Return false if
|
||||
128-bit AVX vectors preferred.
|
||||
|
||||
2014-05-19 Mike Stump <mikestump@comcast.net>
|
||||
|
||||
* lib/target-supports.exp (check_effective_target_avx): Early out
|
||||
|
|
|
@ -5285,7 +5285,11 @@ proc check_avx_available { } {
|
|||
# Return true if 32- and 16-bytes vectors are available.
|
||||
|
||||
proc check_effective_target_vect_sizes_32B_16B { } {
|
||||
return [check_avx_available];
|
||||
if { [check_avx_available] && ![check_prefer_avx128] } {
|
||||
return 1;
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
# Return true if 128-bits vectors are preferred even if 256-bits vectors
|
||||
|
|
Loading…
Add table
Reference in a new issue