This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH PR70729] The second part of patch.


On Sun, Jul 03, 2016 at 08:56:44AM -0700, H.J. Lu wrote:
> --- /dev/null
> +++ b/libgomp/testsuite/libgomp.fortran/pr71734-1.f90
> @@ -0,0 +1,110 @@
> +! { dg-do run { target avx_runtime } }
> +! { dg-additional-options "-msse2" }
> +! The same as simd3.f90, but compiled with -msse2.  we run it only on
> +! AVX machine where simd4.f90 is compiled with -mavx.

Please just
include 'simd3.f90'
here instead.  Also, s/simd4.f90/simd3.f90/ above.

> diff --git a/libgomp/testsuite/libgomp.fortran/pr71734-2.f90 b/libgomp/testsuite/libgomp.fortran/pr71734-2.f90
> new file mode 100644
> index 0000000..1cad4c1
> --- /dev/null
> +++ b/libgomp/testsuite/libgomp.fortran/pr71734-2.f90
> @@ -0,0 +1,104 @@
> +! { dg-do run { target avx_runtime } }
> +! { dg-additional-options "-msse2" }
> +! The same as simd4.f90, but compiled with -msse2.  we run it only on
> +! AVX machine where simd4.f90 is compiled with -mavx.
> +

Similarly.
Ok with those changes.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]