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
GCC has implemented this in a recent patch. Consider the following example. https://godbolt.org/z/szzTesvKz
#include <arm_sve.h> typedef int v4si __attribute__ ((vector_size (16))); v4si f_v4si (void) { return (v4si){ 0, 1, 2, 3 }; }
GCC:
f_v4si(): index z0.s, #0, #1 ret
Clang:
.LCPI0_0: .word 0 .word 1 .word 2 .word 3 f_v4si(): adrp x8, .LCPI0_0 ldr q0, [x8, :lo12:.LCPI0_0] ret
I referred to the following GCC patch. INDEX
The text was updated successfully, but these errors were encountered:
@llvm/issue-subscribers-backend-aarch64
Author: None (k-arrows)
typedef int v4si attribute ((vector_size (16))); v4si f_v4si (void) { return (v4si){ 0, 1, 2, 3 }; }
GCC: ```asm f_v4si(): index z0.s, #<!-- -->0, #<!-- -->1 ret
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
GCC has implemented this in a recent patch. Consider the following example.
https://godbolt.org/z/szzTesvKz
GCC:
Clang:
I referred to the following GCC patch.
INDEX
The text was updated successfully, but these errors were encountered: