We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduced test case (on Compiler Explorer: https://godbolt.org/z/z84YY6G35):
#include <stdint.h>
typedef int32_t i32x2 attribute((vector_size(8))); typedef int64_t i64x2 attribute((vector_size(16)));
i64x2 cvt(i32x2 a) { return __builtin_convertvector(a, i64x2); }
Looks like it started with clang 11.0; 10 works.
The text was updated successfully, but these errors were encountered:
Sorry, I forgot to mention in the comment: make sure -mcpu=power7 is in the compiler flags. -mcpu=power6 and -mcpu=power8 both work.
Sorry, something went wrong.
Fixed in 6a06dba.
No branches or pull requests
Extended Description
Reduced test case (on Compiler Explorer: https://godbolt.org/z/z84YY6G35):
#include <stdint.h>
typedef int32_t i32x2 attribute((vector_size(8)));
typedef int64_t i64x2 attribute((vector_size(16)));
i64x2 cvt(i32x2 a) {
return __builtin_convertvector(a, i64x2);
}
Looks like it started with clang 11.0; 10 works.
The text was updated successfully, but these errors were encountered: