From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lxmtout2.gsi.de (lxmtout2.gsi.de [140.181.3.112]) by sourceware.org (Postfix) with ESMTPS id 9CF69385800F; Fri, 18 Dec 2020 15:25:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9CF69385800F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gsi.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=M.Kretz@gsi.de Received: from localhost (localhost [127.0.0.1]) by lxmtout2.gsi.de (Postfix) with ESMTP id D2723202AD6A; Fri, 18 Dec 2020 16:25:27 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at lxmtout2.gsi.de Received: from lxmtout2.gsi.de ([127.0.0.1]) by localhost (lxmtout2.gsi.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 029drG_ec31G; Fri, 18 Dec 2020 16:25:27 +0100 (CET) Received: from srvex3.campus.gsi.de (srvex3.campus.gsi.de [10.10.4.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by lxmtout2.gsi.de (Postfix) with ESMTPS id 60E0D202AD5D; Fri, 18 Dec 2020 16:25:27 +0100 (CET) Received: from excalibur.localnet (140.181.3.12) by srvex3.campus.gsi.de (10.10.4.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2106.2; Fri, 18 Dec 2020 16:25:27 +0100 From: Matthias Kretz To: Jonathan Wakely CC: , Subject: Re: [PATCH] Add simd testsuite Date: Fri, 18 Dec 2020 16:25:26 +0100 Message-ID: <5071717.jU09eNbi13@excalibur> Organization: GSI Helmholtzzentrum =?UTF-8?B?ZsO8cg==?= Schwerionenforschung In-Reply-To: <20201217131051.GX2309743@redhat.com> References: <8364569.lWL0Ik8vYZ@excalibur> <20201217131051.GX2309743@redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart3181175.5S6X66LlFz" Content-Transfer-Encoding: 7Bit X-Originating-IP: [140.181.3.12] X-ClientProxiedBy: srvex4.Campus.gsi.de (10.10.4.36) To srvex3.campus.gsi.de (10.10.4.16) X-Spam-Status: No, score=-13.9 required=5.0 tests=BAYES_00, BODY_8BITS, GIT_PATCH_0, KAM_DMARC_STATUS, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_PASS, TXREP, T_SPF_HELO_PERMERROR autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2020 15:25:36 -0000 --nextPart3181175.5S6X66LlFz Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" On Donnerstag, 17. Dezember 2020 14:10:51 CET Jonathan Wakely wrote: > On 16/12/20 12:58 +0100, Matthias Kretz wrote: > >+ $srcdir/testsuite/experimental/simd/generate_makefile.sh \ > >+ --destination=3D"$testdir/$subdir" $CXX $INCLUDES $CXXFLAGS -static >=20 > Is the -static here to avoid needing LD_LIBRARY_PATH to find > libstdc++.so? >=20 > If you don't have libc.a installed it won't work. How about > using -static-libgcc -static-libstdc++ instead? I need the -static for qemu and simple remote execution (copy binary via sc= p,=20 execute via ssh). And yes, -static makes it much easier to avoid the=20 LD_LIBRARY_PATH issue. I'll make -static optional, and default to -static-libgcc -static-libstdc++= =2E=20 The latter should still work for most remote execution setups (works for me= ,=20 at least). > >--- /dev/null > >+++ b/libstdc++-v3/testsuite/experimental/simd/tests/abs.cc > >@@ -0,0 +1,24 @@ > >+#include "bits/verify.h" > >+#include "bits/metahelpers.h" >=20 > We'd usually put these testsuite helper files in testsuite/util, maybe > in a testsuite/util/simd sub-dir, but I suppose keeping them local to > the tests is OK too. At this point the simd testsuite is very close to being usable for other=20 Parallelism TS 2 implementations. That's a feature I'd support if there's=20 interest outside of libstdc++. > >--- /dev/null > >+++ b/libstdc++-v3/testsuite/experimental/simd/tests/bits/conversions.h > >@@ -0,0 +1,167 @@ > >+#include > >+ > >+// is_conversion_undefined > >+/* implementation-defined > >+ * =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >+ * =C3=82=C2=A74.7 p3 (integral conversions) >=20 > These section signs will cause errors if the testsuite is run with > something like -finput-charset=3Dascii, but I suppose we can say "don't > do that". We have tests that use that option and include all the > libstdc++ headers, so there should be no need to run the entire > testsuite with that option. So it's OK. Ah, but good point. I have comments in simd_math.h (i.e. the other patch)=20 like: "Fold @p x into [-=C2=BC=CF=80, =C2=BC=CF=80] and [...]". These comme= nts are not in the=20 testsuite. I guess I need to replace all non-ASCII chars there? Attached is the diff to the previous patch. In addition to the -static chan= ge=20 I added license headers (as noted on IRC) and I improved the Makefile=20 generator: Instead of only passing TESTFLAGS and GCC_TEST_SIMULATOR as=20 environment variables, place the initial values into the generated Makefile= =2E=20 This makes it much easier to work on tests or fixes for failures. I'll top-post the squashed simd patches.=20 =2D-=20 =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80 Dr. Matthias Kretz https://mattkretz.github.io GSI Helmholtz Centre for Heavy Ion Research https://gsi.de std::experimental::simd https://github.com/VcDevel/std-simd =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80 --nextPart3181175.5S6X66LlFz Content-Disposition: inline; filename="0001-No-static-by-default-more-usable-Makefiles.patch" Content-Transfer-Encoding: quoted-printable Content-Type: text/x-patch; charset="utf-8"; name="0001-No-static-by-default-more-usable-Makefiles.patch" diff --git a/libstdc++-v3/scripts/check_simd b/libstdc++-v3/scripts/check_s= imd index 2b7a17a64c9..25acf64c841 100755 =2D-- a/libstdc++-v3/scripts/check_simd +++ b/libstdc++-v3/scripts/check_simd @@ -26,7 +26,7 @@ sim=3D\\\"$sim\\\"\"" =20 if [ -f "$CHECK_SIMD_CONFIG" ]; then . "$CHECK_SIMD_CONFIG" =2Delif [ -z "$CHECK_SIMD_CONFIG"]; then +elif [ -z "$CHECK_SIMD_CONFIG" ]; then if [ -z "$target_list" ]; then target_list=3D"unix" case "$target_triplet" in @@ -69,8 +69,7 @@ while [ ${#list} -gt 0 ]; do subdir=3D"simd/$(echo "$flags" | sed 's#[=3D /-]##g')" rm -f "${subdir}/Makefile" $srcdir/testsuite/experimental/simd/generate_makefile.sh \ =2D --destination=3D"$testdir/$subdir" $CXX $INCLUDES $CXXFLAGS -static =2D echo "$subdir =2D$flags =2D$sim" + --destination=3D"$testdir/$subdir" --sim=3D"$sim" --testflags=3D"$flag= s" \ + $CXX $INCLUDES $CXXFLAGS -static-libgcc -static-libstdc++ + echo "$subdir" done diff --git a/libstdc++-v3/testsuite/Makefile.am b/libstdc++-v3/testsuite/Ma= kefile.am index d2e282b62b9..fa9cc4753f3 100644 =2D-- a/libstdc++-v3/testsuite/Makefile.am +++ b/libstdc++-v3/testsuite/Makefile.am @@ -192,9 +192,10 @@ check-simd: $(srcdir)/experimental/simd/generate_makef= ile.sh \ testsuite_files_simd \ ${glibcxx_builddir}/scripts/testsuite_flags ${glibcxx_srcdir}/scripts/check_simd "${glibcxx_srcdir}" "${glibcxx_build= dir}" "$(CXXFLAGS)" | \ =2D while read subdir && read flags && read sim; do \ =2D $(MAKE) -C "$${subdir}" TESTFLAGS=3D"$${flags}" GCC_TEST_SIMULATOR= =3D"$${sim}"; \ =2D tail -n6 $${subdir}/simd_testsuite.sum >> .simd.summary; \ + while read subdir; do \ + $(MAKE) -C "$${subdir}"; \ + tail -n20 $${subdir}/simd_testsuite.sum | \ + grep -A20 -B1 'Summary =3D=3D=3D' >> .simd.summary; \ done; \ cat .simd.summary && rm .simd.summary =20 diff --git a/libstdc++-v3/testsuite/Makefile.in b/libstdc++-v3/testsuite/Ma= kefile.in index 08b8fc05fa5..fadc93e027c 100644 =2D-- a/libstdc++-v3/testsuite/Makefile.in +++ b/libstdc++-v3/testsuite/Makefile.in @@ -707,14 +707,16 @@ check-performance: testsuite_files_performance ${perf= ormance_script} CXXFLAGS=3D'$(CXXFLAGS)'; export CXXFLAGS; \ ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir}) =20 +# Runs the simd tests. check-simd: $(srcdir)/experimental/simd/generate_makefile.sh \ ${glibcxx_srcdir}/scripts/check_simd \ testsuite_files_simd \ ${glibcxx_builddir}/scripts/testsuite_flags ${glibcxx_srcdir}/scripts/check_simd "${glibcxx_srcdir}" "${glibcxx_build= dir}" "$(CXXFLAGS)" | \ =2D while read subdir && read flags && read sim; do \ =2D $(MAKE) -C "$${subdir}" TESTFLAGS=3D"$${flags}" GCC_TEST_SIMULATOR= =3D"$${sim}"; \ =2D tail -n6 $${subdir}/simd_testsuite.sum >> .simd.summary; \ + while read subdir; do \ + $(MAKE) -C "$${subdir}"; \ + tail -n20 $${subdir}/simd_testsuite.sum | \ + grep -A20 -B1 'Summary =3D=3D=3D' >> .simd.summary; \ done; \ cat .simd.summary && rm .simd.summary =20 diff --git a/libstdc++-v3/testsuite/experimental/simd/generate_makefile.sh = b/libstdc++-v3/testsuite/experimental/simd/generate_makefile.sh index 8172d9bb54c..85a7f87271e 100755 =2D-- a/libstdc++-v3/testsuite/experimental/simd/generate_makefile.sh +++ b/libstdc++-v3/testsuite/experimental/simd/generate_makefile.sh @@ -6,6 +6,7 @@ srcdir=3D"$srcdir/tests" sim=3D rm_logs=3Dtrue dst=3D. +testflags=3D =20 usage() { cat < Force initial TESTFLAGS contents. -d , --destination Destination for the generated Makefile. If the direc= tory does not exist it is created (default: $dst). @@ -30,6 +32,13 @@ while [ $# -gt 0 ]; do usage exit ;; + --testflags) + testflags=3D"$2" + shift + ;; + --testflags=3D*) + testflags=3D"${1#--testflags=3D}" + ;; -d|--destination) dst=3D"$2" shift @@ -76,7 +85,9 @@ CXX=3D"$1" shift =20 echo "TESTFLAGS ?=3D" > "$dst" +[ -n "$testflags" ] && echo "TESTFLAGS :=3D $testflags \$(TESTFLAGS)" >> "= $dst" echo CXXFLAGS =3D "$@" "\$(TESTFLAGS)" >> "$dst" +[ -n "$sim" ] && echo "export GCC_TEST_SIMULATOR =3D $sim" >> "$dst" cat >> "$dst" <. + #include "bits/verify.h" #include "bits/metahelpers.h" #include // abs & sqrt diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/algorithms.cc b= /libstdc++-v3/testsuite/experimental/simd/tests/algorithms.cc index f79bb6b63d2..78bce35f59c 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/algorithms.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/algorithms.cc @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/metahelpers.h" =20 diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/bits/conversion= s.h b/libstdc++-v3/testsuite/experimental/simd/tests/bits/conversions.h index 601b783cec6..e89221e1ede 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/bits/conversions.h +++ b/libstdc++-v3/testsuite/experimental/simd/tests/bits/conversions.h @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include =20 // is_conversion_undefined diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/bits/make_vec.h= b/libstdc++-v3/testsuite/experimental/simd/tests/bits/make_vec.h index f81135900e8..ee0d436f9ae 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/bits/make_vec.h +++ b/libstdc++-v3/testsuite/experimental/simd/tests/bits/make_vec.h @@ -1,29 +1,19 @@ =2D/* This file is part of the Vc library. { =2DCopyright =C2=A9 2017 Matthias Kretz =2D =2DRedistribution and use in source and binary forms, with or without =2Dmodification, are permitted provided that the following conditions are m= et: =2D * Redistributions of source code must retain the above copyright =2D notice, this list of conditions and the following disclaimer. =2D * Redistributions in binary form must reproduce the above copyright =2D notice, this list of conditions and the following disclaimer in the =2D documentation and/or other materials provided with the distributio= n. =2D * Neither the names of contributing organizations nor the =2D names of its contributors may be used to endorse or promote produc= ts =2D derived from this software without specific prior written permissi= on. =2D =2DTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS = IS" AND =2DANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IM= PLIED =2DWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE =2DDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY =2DDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAG= ES =2D(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVI= CES; =2DLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED = AND =2DON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TO= RT =2D(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF= THIS =2DSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. =2D =2D}*/ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . =20 #include =20 diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/bits/mathrefere= nce.h b/libstdc++-v3/testsuite/experimental/simd/tests/bits/mathreference.h index 3e5892c2624..2ed2bb35e3c 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/bits/mathreference.h +++ b/libstdc++-v3/testsuite/experimental/simd/tests/bits/mathreference.h @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include #include #include diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/bits/metahelper= s.h b/libstdc++-v3/testsuite/experimental/simd/tests/bits/metahelpers.h index 16c6b287690..e9516537e60 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/bits/metahelpers.h +++ b/libstdc++-v3/testsuite/experimental/simd/tests/bits/metahelpers.h @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #ifndef VC_TESTS_METAHELPERS_H_ #define VC_TESTS_METAHELPERS_H_ =20 diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/bits/simd_view.= h b/libstdc++-v3/testsuite/experimental/simd/tests/bits/simd_view.h index b7fbaf883bf..a221708df39 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/bits/simd_view.h +++ b/libstdc++-v3/testsuite/experimental/simd/tests/bits/simd_view.h @@ -1,29 +1,19 @@ =2D/* This file is part of the Vc library. { =2DCopyright =C2=A9 2018 Matthias Kretz =2D =2DRedistribution and use in source and binary forms, with or without =2Dmodification, are permitted provided that the following conditions are m= et: =2D * Redistributions of source code must retain the above copyright =2D notice, this list of conditions and the following disclaimer. =2D * Redistributions in binary form must reproduce the above copyright =2D notice, this list of conditions and the following disclaimer in the =2D documentation and/or other materials provided with the distributio= n. =2D * Neither the names of contributing organizations nor the =2D names of its contributors may be used to endorse or promote produc= ts =2D derived from this software without specific prior written permissi= on. =2D =2DTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS = IS" AND =2DANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IM= PLIED =2DWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE =2DDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY =2DDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAG= ES =2D(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVI= CES; =2DLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED = AND =2DON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TO= RT =2D(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF= THIS =2DSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. =2D =2D}*/ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . =20 #ifndef VC_TESTS_SIMD_VIEW_H_ #define VC_TESTS_SIMD_VIEW_H_ diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/bits/test_value= s.h b/libstdc++-v3/testsuite/experimental/simd/tests/bits/test_values.h index 7acbb832900..01988aef327 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/bits/test_values.h +++ b/libstdc++-v3/testsuite/experimental/simd/tests/bits/test_values.h @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include #include #include diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/bits/ulp.h b/li= bstdc++-v3/testsuite/experimental/simd/tests/bits/ulp.h index c1b9e7adb07..3b6966dd85d 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/bits/ulp.h +++ b/libstdc++-v3/testsuite/experimental/simd/tests/bits/ulp.h @@ -1,29 +1,19 @@ =2D/*{ =2DCopyright =C2=A9 2011-2018 Matthias Kretz =2D =2DRedistribution and use in source and binary forms, with or without =2Dmodification, are permitted provided that the following conditions are m= et: =2D * Redistributions of source code must retain the above copyright =2D notice, this list of conditions and the following disclaimer. =2D * Redistributions in binary form must reproduce the above copyright =2D notice, this list of conditions and the following disclaimer in the =2D documentation and/or other materials provided with the distributio= n. =2D * Neither the names of contributing organizations nor the =2D names of its contributors may be used to endorse or promote produc= ts =2D derived from this software without specific prior written permissi= on. =2D =2DTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS = IS" AND =2DANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IM= PLIED =2DWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE =2DDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY =2DDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAG= ES =2D(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVI= CES; =2DLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED = AND =2DON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TO= RT =2D(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF= THIS =2DSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. =2D =2D}*/ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . =20 #ifndef ULP_H #define ULP_H diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/bits/verify.h b= /libstdc++-v3/testsuite/experimental/simd/tests/bits/verify.h index 7ec6de7f16b..5da47b35536 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/bits/verify.h +++ b/libstdc++-v3/testsuite/experimental/simd/tests/bits/verify.h @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #ifndef TESTS_BITS_VERIFY_H_ #define TESTS_BITS_VERIFY_H_ =20 diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/broadcast.cc b/= libstdc++-v3/testsuite/experimental/simd/tests/broadcast.cc index 529280d87d4..c107de3380b 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/broadcast.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/broadcast.cc @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/metahelpers.h" =20 diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/casts.cc b/libs= tdc++-v3/testsuite/experimental/simd/tests/casts.cc index e2c0b108879..df169e100de 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/casts.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/casts.cc @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/metahelpers.h" #include "bits/conversions.h" diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/fpclassify.cc b= /libstdc++-v3/testsuite/experimental/simd/tests/fpclassify.cc index 87a80308ae9..eef26108f5f 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/fpclassify.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/fpclassify.cc @@ -1,4 +1,21 @@ // test only floattypes +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/metahelpers.h" #include "bits/test_values.h" diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/frexp.cc b/libs= tdc++-v3/testsuite/experimental/simd/tests/frexp.cc index 1f9b30162cb..e2d90dd1e3f 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/frexp.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/frexp.cc @@ -1,4 +1,21 @@ // test only floattypes +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/metahelpers.h" #include "bits/test_values.h" diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/generator.cc b/= libstdc++-v3/testsuite/experimental/simd/tests/generator.cc index 62ec716c82d..221064dc476 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/generator.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/generator.cc @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/metahelpers.h" =20 diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/hypot3_fma.cc b= /libstdc++-v3/testsuite/experimental/simd/tests/hypot3_fma.cc index 330a79400ee..0c8e55983a2 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/hypot3_fma.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/hypot3_fma.cc @@ -1,4 +1,21 @@ // test only floattypes +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/metahelpers.h" #include "bits/test_values.h" diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/integer_operato= rs.cc b/libstdc++-v3/testsuite/experimental/simd/tests/integer_operators.cc index 9205d865aed..975e69a9e35 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/integer_operators.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/integer_operators.cc @@ -1,16 +1,16 @@ =2D// Copyright (C) 2018 Free Software Foundation, Inc. +// Copyright (C) 2020 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Free Software Foundation; either version 3, or (at your option) // any later version. =2D +// // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. =2D +// // You should have received a copy of the GNU General Public License along // with this library; see the file COPYING3. If not see // . diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/ldexp_scalbn_sc= albln_modf.cc b/libstdc++-v3/testsuite/experimental/simd/tests/ldexp_scalbn= _scalbln_modf.cc index e8a519612e8..6d994572bf8 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/ldexp_scalbn_scalbln= _modf.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/ldexp_scalbn_scalbln_m= odf.cc @@ -1,4 +1,21 @@ // test only floattypes +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/metahelpers.h" #include "bits/test_values.h" diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/loadstore.cc b/= libstdc++-v3/testsuite/experimental/simd/tests/loadstore.cc index 329c89688ed..994227c7d5a 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/loadstore.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/loadstore.cc @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/make_vec.h" #include "bits/conversions.h" diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/logarithm.cc b/= libstdc++-v3/testsuite/experimental/simd/tests/logarithm.cc index 7578f1a8561..29c686db697 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/logarithm.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/logarithm.cc @@ -1,4 +1,21 @@ // test only floattypes +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/metahelpers.h" #include "bits/mathreference.h" diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/mask_broadcast.= cc b/libstdc++-v3/testsuite/experimental/simd/tests/mask_broadcast.cc index 6fbadc67af7..7fc8201caf6 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/mask_broadcast.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/mask_broadcast.cc @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/metahelpers.h" =20 diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/mask_conversion= s.cc b/libstdc++-v3/testsuite/experimental/simd/tests/mask_conversions.cc index 0248cd4cb47..8cec912250a 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/mask_conversions.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/mask_conversions.cc @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" =20 namespace stdx =3D std::experimental; diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/mask_implicit_c= vt.cc b/libstdc++-v3/testsuite/experimental/simd/tests/mask_implicit_cvt.cc index 3fa8dab5799..e1760e3f37f 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/mask_implicit_cvt.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/mask_implicit_cvt.cc @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/metahelpers.h" =20 diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/mask_loadstore.= cc b/libstdc++-v3/testsuite/experimental/simd/tests/mask_loadstore.cc index 5e3fd6d867c..0f43428b7c6 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/mask_loadstore.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/mask_loadstore.cc @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" =20 // simd_mask generator functions diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/mask_operator_c= vt.cc b/libstdc++-v3/testsuite/experimental/simd/tests/mask_operator_cvt.cc index cb968d02785..738b97c3dca 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/mask_operator_cvt.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/mask_operator_cvt.cc @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/metahelpers.h" =20 diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/mask_operators.= cc b/libstdc++-v3/testsuite/experimental/simd/tests/mask_operators.cc index f729adc55bf..58255cf1e1b 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/mask_operators.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/mask_operators.cc @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/metahelpers.h" =20 diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/mask_reductions= =2Ecc b/libstdc++-v3/testsuite/experimental/simd/tests/mask_reductions.cc index 99912aad9c0..1190eaf5457 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/mask_reductions.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/mask_reductions.cc @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/metahelpers.h" =20 diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/math_1arg.cc b/= libstdc++-v3/testsuite/experimental/simd/tests/math_1arg.cc index 748fd1d3866..bce01264f3c 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/math_1arg.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/math_1arg.cc @@ -1,4 +1,21 @@ // test only floattypes +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/test_values.h" =20 diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/math_2arg.cc b/= libstdc++-v3/testsuite/experimental/simd/tests/math_2arg.cc index ef425fa4221..57b7b3aeb5c 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/math_2arg.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/math_2arg.cc @@ -1,4 +1,21 @@ // test only floattypes +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/metahelpers.h" #include "bits/test_values.h" diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/operator_cvt.cc= b/libstdc++-v3/testsuite/experimental/simd/tests/operator_cvt.cc index 1c73e299981..a04cd34e3d4 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/operator_cvt.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/operator_cvt.cc @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/metahelpers.h" =20 diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/operators.cc b/= libstdc++-v3/testsuite/experimental/simd/tests/operators.cc index 566c5c994e8..cee696cc69b 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/operators.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/operators.cc @@ -1,16 +1,16 @@ =2D// Copyright (C) 2018 Free Software Foundation, Inc. +// Copyright (C) 2020 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Free Software Foundation; either version 3, or (at your option) // any later version. =2D +// // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. =2D +// // You should have received a copy of the GNU General Public License along // with this library; see the file COPYING3. If not see // . diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/reductions.cc b= /libstdc++-v3/testsuite/experimental/simd/tests/reductions.cc index a663db23a61..6f4ba40133f 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/reductions.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/reductions.cc @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/metahelpers.h" #include "bits/test_values.h" diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/remqo.cc b/libs= tdc++-v3/testsuite/experimental/simd/tests/remqo.cc index 87eb21ef098..bdbacc6ef8e 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/remqo.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/remqo.cc @@ -1,4 +1,21 @@ // test only floattypes +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/metahelpers.h" #include "bits/test_values.h" diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/simd.cc b/libst= dc++-v3/testsuite/experimental/simd/tests/simd.cc index 0744be5e191..657646c0ac5 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/simd.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/simd.cc @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" =20 template diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/sincos.cc b/lib= stdc++-v3/testsuite/experimental/simd/tests/sincos.cc index ced3be49136..acef488e214 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/sincos.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/sincos.cc @@ -1,6 +1,21 @@ // test only floattypes =2D// { dg-additional-files "reference-sincos-sp.dat" } =2D// { dg-additional-files "reference-sincos-ep.dat" } +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/metahelpers.h" #include "bits/mathreference.h" diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/split_concat.cc= b/libstdc++-v3/testsuite/experimental/simd/tests/split_concat.cc index 2e7cf66b227..3a79a1f8e3d 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/split_concat.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/split_concat.cc @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/metahelpers.h" #include "bits/conversions.h" diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/splits.cc b/lib= stdc++-v3/testsuite/experimental/simd/tests/splits.cc index 31db384f798..8b61635c2a6 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/splits.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/splits.cc @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" =20 template diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/trigonometric.c= c b/libstdc++-v3/testsuite/experimental/simd/tests/trigonometric.cc index 51fef12a87f..24730f1856c 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/trigonometric.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/trigonometric.cc @@ -1,4 +1,21 @@ // test only floattypes +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/metahelpers.h" #include "bits/test_values.h" diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/trunc_ceil_floo= r.cc b/libstdc++-v3/testsuite/experimental/simd/tests/trunc_ceil_floor.cc index df105530efe..e516926ae1d 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/trunc_ceil_floor.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/trunc_ceil_floor.cc @@ -1,4 +1,21 @@ // test only floattypes +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/test_values.h" #include "bits/verify.h" =20 diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/where.cc b/libs= tdc++-v3/testsuite/experimental/simd/tests/where.cc index 603e5a4b262..5e73a3b1989 100644 =2D-- a/libstdc++-v3/testsuite/experimental/simd/tests/where.cc +++ b/libstdc++-v3/testsuite/experimental/simd/tests/where.cc @@ -1,3 +1,20 @@ +// Copyright (C) 2020 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + #include "bits/verify.h" #include "bits/make_vec.h" #include "bits/metahelpers.h" --nextPart3181175.5S6X66LlFz--