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

ARM support? #874

Open
artiomn opened this issue Nov 14, 2024 · 0 comments
Open

ARM support? #874

artiomn opened this issue Nov 14, 2024 · 0 comments

Comments

@artiomn
Copy link
Contributor

artiomn commented Nov 14, 2024

Perhaps it would be convenient for user if PCM will support ARM?
I understand that this is an Intel library, but support for other CPU models could make this library more common.
And more widespread.

Compile error on ARM64:

        "=a" (info.reg.eax), "=b" (info.reg.ebx), "=c" (info.reg.ecx), "=d" (info.reg.edx) : "a" (leaf));
        ^
/KNP/third-party/pcm/39b70acffa902cad8124c06dd0292ed48447644f/src/types.h:1648:27: error: invalid output constraint '=a' in asm
                          "=a" (info.reg.eax), "=b" (info.reg.ebx), "=c" (info.reg.ecx), "=d" (info.reg.edx) : "a" (leaf), "c" (subleaf));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants