Software Archive
Read-only legacy content
17061 ディスカッション

Calling convention on the Phi

Ioannis_V_
ビギナー
708件の閲覧回数

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 件の賞賛
3 返答(返信)
Frances_R_Intel
従業員
708件の閲覧回数

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.

McCalpinJohn
名誉コントリビューター III
708件の閲覧回数

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.

Ioannis_V_
ビギナー
708件の閲覧回数

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

Best regards,

Ioannis E. Venetis

返信