This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/38836] New: Documentation for x86 builtins is outdated
- From: "npl at chello dot at" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2009 11:04:59 -0000
- Subject: [Bug c/38836] New: Documentation for x86 builtins is outdated
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The documentation for builtin functions need a serious overhaul, trying to use
several builtins as documented will result in the linker complaining about
missing functions. As reference (I`m not sure how accurate this is) take this
post: http://www.mail-archive.com/gcc@gcc.gnu.org/msg03309.html
Also the correct alternative of using xmmintrin.h is mentioned nowhere in the
documentation, neither the correct typedefs (or even which variation should be
prefered).
eg. defining v8qi as
typedef uint_8 v8qi __attribute__ ((vector_size (8)));
will result in errors with function requiring a 8*8 vector of integers. Its not
obvious that you have to use
typedef char v8qi __attribute__ ((vector_size (8)));
instead
--
Summary: Documentation for x86 builtins is outdated
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: npl at chello dot at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38836