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

Regarding AMX instructions #238

Open
ghjeong12 opened this issue Aug 28, 2020 · 2 comments
Open

Regarding AMX instructions #238

ghjeong12 opened this issue Aug 28, 2020 · 2 comments
Labels

Comments

@ghjeong12
Copy link

Hi, I was able to use intel SDE to generate the traces with AMX instructions.
However, I couldn't get the xed category for trace tool of intel SDE so I used xed to get xed categories.

Still, I couldn't see any AMX instructions at the output of xed. There are some possible reasons for this.

  • AMX instructions are generated by JIT. Maybe XED only analyzes static codes.
  • XED doesn't understand AMX instructions.

Could you tell me which sounds reasonable? If I'm doing something wrong, please let me know. (I couldn't find any argument to activate jit or spr architecture)

@markcharney
Copy link
Contributor

hi. i am off work today answering from my phone. i believe i have not released the patches supporting AMX yet. I have about 175 commits to release. Hopefully very soon (within a week).

@markcharney
Copy link
Contributor

Intel AMX support has been pushed in the public version of XED. The Intel SDE that supports Intel AMX had/has a binary version of XED that supported AMX (before my push this week of AMX support to this repo).

To see Intel AMX instructions in binaries, you'd need to have someone put those instructions in your binary, presumably by using assembly language or intrinsics. It might be a while before AMX code is not auto-generated. AMX usage is not as trivial as, say, conventional SIMD processing.

Intel SDE sees all user-space executed code. As you point out, AMX instructions can be generated by JITs so they might not appear in static binaries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants