From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id EB8EB382C421; Thu, 24 Jun 2021 13:09:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EB8EB382C421 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-1779] libstdc++: Fix typos and markdown errors in new simd/README.md X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: 17bc3848e065c0980523e1a1592f2f03b24b4f1c X-Git-Newrev: 07ba52849ffca26a3d461f94921b23a9cdbaea7f Message-Id: <20210624130957.EB8EB382C421@sourceware.org> Date: Thu, 24 Jun 2021 13:09:57 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2021 13:09:58 -0000 https://gcc.gnu.org/g:07ba52849ffca26a3d461f94921b23a9cdbaea7f commit r12-1779-g07ba52849ffca26a3d461f94921b23a9cdbaea7f Author: Jonathan Wakely Date: Thu Jun 24 13:49:19 2021 +0100 libstdc++: Fix typos and markdown errors in new simd/README.md Signed-off-by: Jonathan Wakely libstdc++-v3/ChangeLog: * testsuite/experimental/simd/README.md: Fix typos. Diff: --- libstdc++-v3/testsuite/experimental/simd/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libstdc++-v3/testsuite/experimental/simd/README.md b/libstdc++-v3/testsuite/experimental/simd/README.md index db0d71f8d43..b82453df403 100644 --- a/libstdc++-v3/testsuite/experimental/simd/README.md +++ b/libstdc++-v3/testsuite/experimental/simd/README.md @@ -11,7 +11,7 @@ the environment variables documented below. ### `target_list` Similar to dejagnu target lists: E.g. -`target_list="unix{-march=sandybridge,-march=native/-ffast-math,-march=native/-ffinite-math-only}" +`target_list="unix{-march=sandybridge,-march=native/-ffast-math,-march=native/-ffinite-math-only}"` would create three subdirs in `testsuite/simd/` to run the complete simd testsuite first with `-march=sandybridge`, then with `-march=native -ffast-math`, and finally with `-march=native -ffinite-math-only`. @@ -21,7 +21,7 @@ testsuite first with `-march=sandybridge`, then with `-march=native This variable can be set to a path to a file which is equivalent to a dejagnu board. The file needs to be a valid `sh` script since it is sourced from the -`scripts/check_simd` script. It's purpose is to set the `target_list` variable +`scripts/check_simd` script. Its purpose is to set the `target_list` variable depending on `$target_triplet` (or whatever else makes sense for you). Example: ```sh @@ -52,7 +52,7 @@ the `target_list` variable. In the example above `define_target power7 `power7` which always uses the flags `-mcpu=power7` and `-static` when compiling tests and prepends `$HOME/bin/run_on_gccfarm gcc112` to test executables. In `target_list` you can now use the name `power7`. E.g. -`target_list="power7 power7/-ffast-math"` or it's shorthand +`target_list="power7 power7/-ffast-math"` or its shorthand `target_list="power7{,-ffast-math}"`. @@ -109,7 +109,7 @@ A test starts with the copyright header, directly followed by directives influencing the set of tests to generate and whether the test driver should expect a failure. -Then the test must at least `#include "bits/verify.h", which provides `main` +Then the test must at least `#include "bits/verify.h"`, which provides `main` and declares a `template void test()` function, which the test has to define. The template parameter is set to `simd` type where `T` and `Abi` are determined by the type and ABI subset dimensions.