Skip to content
New issue

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

SVE support for WoA #124384

Open
zafeerali943 opened this issue Jan 25, 2025 · 1 comment
Open

SVE support for WoA #124384

zafeerali943 opened this issue Jan 25, 2025 · 1 comment
Labels
clang-cl `clang-cl` driver. Don't use for other compiler parts question A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

Comments

@zafeerali943
Copy link

zafeerali943 commented Jan 25, 2025

Does LLVM clang-cl compiler can compile SVE intrinsic on Windows on ARM machine?
If yes, how could I compile SVE codes on WoA?

Sample code:

#include <arm_sve.h>

int accumulate(svint64_t a, svint64_t b) {
svbool_t p = svptrue_b64();
return svaddv(p, svmla_z(p, a, a, b));
}

int main(void)
{
svbool_t p = svptrue_b64();
svint64_t a = svdup_s64(1);
svint64_t b = svdup_s64(2);
return accumulate(a, b);
}

@EugeneZelenko EugeneZelenko added question A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead! clang-cl `clang-cl` driver. Don't use for other compiler parts and removed new issue labels Jan 25, 2025
@Andarwinux
Copy link
Contributor

see #64278 #80009 #91187

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang-cl `clang-cl` driver. Don't use for other compiler parts question A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!
Projects
None yet
Development

No branches or pull requests

4 participants