Idea: extend gcc to save C from the hell of intel vector instructions
Alexander Monakov
amonakov@ispras.ru
Wed Feb 20 17:23:00 GMT 2019
On Wed, 20 Feb 2019, Warren D Smith wrote:
> but if I try to replace that with the nicer (since more portable)
> c = __builtin_shuffle(a, b);
> then
> error: use of unknown builtin '__builtin_shuffle'
> [-Wimplicit-function-declaration]
Most likely you're on OS X and the 'gcc' command actually invokes Clang/LLVM.
Clang does not implement this builtin (there's __builtin_shufflevector with
a different interface â see Clang documentation for details).
Alexander
More information about the Gcc
mailing list