This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: MMX documentation
- To: Bernd Schmidt <bernds at redhat dot com>
- Subject: Re: MMX documentation
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Sat, 29 Sep 2001 17:58:02 +0100 (BST)
- cc: <gcc-patches at gcc dot gnu dot org>
On Sat, 29 Sep 2001, Bernd Schmidt wrote:
> + types these have the form @code{VnB}; @code{n} should be the number of
"@code{V@var{n}@var{B}}; @var{n}".
> + elements in the vector, and @code{B} should be the base mode of the
@var{B}.
> + The following machine modes are available for use with MMX builtins
"built-in functions" not "builtins".
> + vector of eight 8 bit integers. Some of the builtins operate on MMX
Likewise.
> + The following builtins are made available by @option{-mmmx}:
Likewise.
> + @table @code
> + @item v8qi __builtin_ia32_paddb (v8qi, v8qi)
All these built-in functions should be documented with @deftypefn, as is
already done with many non-target-dependent built-in functions:
@deftypefn {Built-in Function} {v8qi} __builtin_ia32_paddb (v8qi @var{arg1}, v8qi @var{arg2})
...
@end deftypefn
(You might have more descriptive argument names; and perhaps "MMX Built-in
Function" would be better than plain "Built-in Function".)
> + The following builtins are made available either with @option{-msse}, or
"built-in functions".
> + The following builtins are available when @option{-msse} is used.
Likewise.
--
Joseph S. Myers
jsm28@cam.ac.uk