MMX documentation

Joseph S. Myers jsm28@cam.ac.uk
Sat Sep 29 10:01:00 GMT 2001


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



More information about the Gcc-patches mailing list