This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Altivec: adjust prototypes for load builtins




--On Monday, November 25, 2002 02:48:04 PM -0800 Zack Weinberg <zack@codesourcery.com> wrote:

This patch changes the prototypes for all the Altivec load-instruction
builtins so that pointer arguments are const-qualified.  In other
words, the notional prototype

v4si __builtin_altivec_lvx (int, void *);

becomes

v4si __builtin_altivec_lvx (int, const void *);
That seems eminently sensible.  Go for it, unless Geoff or David
jumps in to object.

--
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]