target-supports.exp (check-effective_target_vect_double): Enable for Power targets with VSX hardware available.

2015-08-27  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* lib/target-supports.exp (check-effective_target_vect_double):
	Enable for Power targets with VSX hardware available.
	* gfortran.dg/vect/O3-pr49957.f: Replace vect_no_align with
	vect_no_align && { ! vect_hw_misalign }.

From-SVN: r227283
This commit is contained in:
Bill Schmidt 2015-08-27 22:13:43 +00:00 committed by William Schmidt
parent 124663e416
commit f6a665d39f
3 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2015-08-27 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* lib/target-supports.exp (check-effective_target_vect_double):
Enable for Power targets with VSX hardware available.
* gfortran.dg/vect/O3-pr49957.f: Replace vect_no_align with
vect_no_align && { ! vect_hw_misalign }.
2015-08-27 Sebastian Pop <s.pop@samsung.com>
* gcc.dg/graphite/graphite.exp (interchange_files, block_files):

View File

@ -13,4 +13,4 @@
enddo
return
end
! { dg-final { scan-tree-dump "vectorized 1 loops" "vect" { xfail vect_no_align } } }
! { dg-final { scan-tree-dump "vectorized 1 loops" "vect" { xfail { vect_no_align && { ! vect_hw_misalign } } } } }

View File

@ -3711,6 +3711,8 @@ proc check_effective_target_vect_double { } {
}
} elseif { [istarget spu-*-*] } {
set et_vect_double_saved 1
} elseif { [istarget powerpc*-*-*] && [check_vsx_hw_available] } {
set et_vect_double_saved 1
}
}