Software Archive
Read-only legacy content
17061 Discussions

Calling convention on the Phi

Ioannis_V_
Beginner
325 Views

Hello everyone,

Where can we find details about the calling convention on the Phi? I need quite some details about registers passed on the stack, etc. Something similar to Section 3.2 in this document http://www.x86-64.org/documentation/abi.pdf

Best regards,

Ioannis E. Venetis

0 Kudos
3 Replies
Frances_R_Intel
Employee
325 Views

I believe the calling convention for the Intel® Xeon Phi™ coprocessor is the same as for the Intel® Xeon® processor. Are you specifically looking for UNIX System V conventions or are you looking for Linux conventions or Windows conventions? In any event, a good assembly book (for the appropriate OS) should give you what you want or you might want to check out https://software.intel.com/en-us/articles/introduction-to-x64-assembly - I found this by doing a web search - not sure if there is something better out there.

0 Kudos
McCalpinJohn
Honored Contributor III
325 Views

There is a document that details the (very minor) changes to the ABI for Xeon Phi.   It is currently available at:

https://software.intel.com/sites/default/files/forum/278102/k1om-psabi-1.0.pdf

I have not seen any updates since this 2012 release.

0 Kudos
Ioannis_V_
Beginner
325 Views

Thank you both for your pointers. I think that this is what I need to continue.

Best regards,

Ioannis E. Venetis

0 Kudos
Reply