llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
29.29k stars 12.1k forks source link

[ARM][LV] SVE vs Advanced SIMD #68768

Open erickq opened 1 year ago

erickq commented 1 year ago

I ran into a problem while reading this recently. [https://community.arm.com/arm-community-blogs/b/tools-software-ides-blog/posts/gcc-12]

image

I have a question. As mentioned in the sve vs advanced simd section, the test cases provided can generate neon mian loop followed by an SVE epilogue.. Do you need to add any special compilation options? I used gcc12 to compile the use case and did not generate the situation described in the article.

erickq commented 1 year ago

Is there an engineer who can help answer this question? Thank you very much for helping.

llvmbot commented 1 year ago

@llvm/issue-subscribers-backend-aarch64

Author: None (erickq)

I ran into a problem while reading this recently. [https://community.arm.com/arm-community-blogs/b/tools-software-ides-blog/posts/gcc-12] ![image](https://github.com/llvm/llvm-project/assets/12108571/269af467-7b2a-4fcf-bdac-88cef5843ced) I have a question. As mentioned in the sve vs advanced simd section, the test cases provided can generate neon mian loop followed by an SVE epilogue.. Do you need to add any special compilation options? I used gcc12 to compile the use case and did not generate the situation described in the article.
k-arrows commented 1 year ago

I used gcc12 to compile the use case and did not generate the situation described in the article.

FYI https://godbolt.org/z/P41csT669

erickq commented 1 year ago

I used gcc12 to compile the use case and did not generate the situation described in the article.

FYI https://godbolt.org/z/P41csT669

thank you very much.