[Bug web/92880] Documentation for Built-in Vector-Extensions should mention C99 Fixed-width ints as base types

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 10 11:01:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92880

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |documentation

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Mingye Wang from comment #0)
> Since a quick test seems to show that these types do in fact work,

Of course it does. As Andrew said, they're just typedefs.

> it would
> be a good idea to mention it in the documentation. This should, in theory,
> allow programmers to write truly platform-independent vectorized code.

Not really, because uint32_t is not guaranteed to be available on all
platforms.

uint_least32_t is more portable, but not guaranteed to have exactly 32 bits.


More information about the Gcc-bugs mailing list