Created
January 6, 2021 07:50
-
-
Save kaityo256/c43c168976568fd883c9e3519c61d421 to your computer and use it in GitHub Desktop.
Check the length of SVE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdio> | |
int main(){ | |
int x; | |
asm __volatile__("cntb %[x]" : [ x ] "=r"(x)); | |
printf("%d\n",x*8); | |
} |
Author
kaityo256
commented
Jan 6, 2021
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment