This is the mail archive of the gcc@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: Help restricting args of an intrinsic function


On Mon, Feb 02, 2004 at 03:44:11PM -0800, Syd Polk wrote:
> I don't think that we will need the pointer case. We will need the 
> following:
> 
> - hard-coded integers
> - const int variables
> - static const int members in C++
> - enums

Point the second should be for C++ only, where it has integer
constant expression semantics.

At which point, you're in EXACTLY the same situation that already
exists for x86 and altivec intrinsics.  This is not a new problem,
and it does not need a new solution.


r~


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