On Tue, 24 Feb 2009, Bingfeng Mei wrote: > Currently, we have to use intrinsics to support such shift. Isn't syntax > of vector shift intuitive enough to be supported natively? Someone may > argue it breaks the C language. But vector is a GCC extension anyway. > Support for vector add/sub/etc already break C syntax. Any thought?
The general guideline we've followed for C vector extensions is "like C++ valarray". Does it support this? (This isn't an absolute rule in either direction, but a useful guide and a set of semantics that have been well-tested in practice.) -- Joseph S. Myers jos...@codesourcery.com