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] | |
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.
int main(int argc, const *argv[])
{
const int shift = 3;
const vector int foo;vec_splat (foo, 5); vec_splat (foo, shift); }
r~
Syd Polk Apple Computer Technology EPM, Mac OS X Development Tools +1 408 974-0577
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |