Skip to content

Commit

Permalink
Commas, de-duplication, word order, s/may/can/ in a note
Browse files Browse the repository at this point in the history
ChangeLog:

	* P1928/changelog.tex:
	* P1928/wording.tex:
  • Loading branch information
mattkretz committed Jun 18, 2024
1 parent 2ce8cd4 commit 5c58e5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions P1928/changelog.tex
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,6 @@ \section{Changelog}
\begin{revision}
\item Remove “exposition only” from detailed prose, it's already marked as such in the synopsis.
\item Reorder defintion of \emph{vectorizable type} above its first use.
\item Commas, de-duplication, word order, \code{s/may/can/} in a note.
\todo Reorder \code{simd} and \code{simd_mask} specification in the wording (mask first).
\end{revision}
7 changes: 3 additions & 4 deletions P1928/wording.tex
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
The intent is for the size and binary representation to depend on the target
architecture and compiler flags.
\end{note}
The ABI tag, together with a given element type implies the width.
The ABI tag, together with a given element type, implies the width.

\pnum
\begin{note}
Expand Down Expand Up @@ -276,7 +276,6 @@
\begin{itemize}
\item \tcode{\simdsizev<T, \deducet<T, N>> == N}, and
\item \tcode{basic_simd<T, \deducet<T, N>>} is supported (see \ref{simd.overview}).
\item \tcode{basic_simd<T, \deducet<T, N>>} is supported (see \ref{simd.overview}).
\end{itemize}

% TODO: If we really want the Abis... pack back this needs a paper to LEWG.
Expand All @@ -302,13 +301,13 @@
The intent is to use the ABI tag producing the most efficient data-parallel
execution for the element type \tcode{T} that is supported on the currently
targeted system.
For target architectures with ISA extensions, compiler flags may change the
For target architectures with ISA extensions, compiler flags can change the
type of the \tcode{\nativeabi<T>} alias.
\end{note}
\begin{example}
Consider a target architecture supporting the ABI tags
\tcode{__simd128} and \tcode{__simd256}, where hardware support for
\tcode{__simd256} only exists for floating-point types.
\tcode{__simd256} exists only for floating-point types.
The implementation therefore defines \tcode{\nativeabi<T>} as an alias for
\begin{itemize}
\item \tcode{__simd256} if \tcode{T} is a floating-point type, and
Expand Down

0 comments on commit 5c58e5f

Please sign in to comment.