Need the X86 Application Binary Interface(ABI) Documentation

Hi All,

I am looking for a ABI Documentation of the X86 architecture to understand how LLVM converts its IR to X86 target instructions. Please guide me from where i can get the resources.

Thanks,
Shashidhar

Shashidhar,

Here’s it for 32 and 64 bits.

https://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/LowLevelABI/130-IA-32_Function_Calling_Conventions/IA32.html#//apple_ref/doc/uid/TP40002492-SW4

https://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/LowLevelABI/140-x86-64_Function_Calling_Conventions/x86_64.html

-Dmitry.

From: llvmdev-bounces@cs.uiuc.edu [mailto:llvmdev-bounces@cs.uiuc.edu]
On Behalf Of Dmitry Babokin
Subject: Re: [LLVMdev] Need the X86 Application Binary Interface(ABI) Documentation

Here's it for 32 and 64 bits.

https://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/LowLevelABI/130-IA-32_Function_Calling_Conventions/IA32.html#//apple_ref/doc/uid/TP40002492-SW4

Documentation Archive

Unfortunately, x86-64.org has been unavailable since at least the beginning of the year, so the normal location for the spec is no longer useful. Attached is the latest version I have.

- Chuck

THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

x86-64abi.pdf (447 KB)

From: llvmdev-bounces@cs.uiuc.edu [mailto:llvmdev-bounces@cs.uiuc.edu]
On Behalf Of Dmitry Babokin
Subject: Re: [LLVMdev] Need the X86 Application Binary Interface(ABI) Documentation

Here's it for 32 and 64 bits.

https://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/LowLevelABI/130-IA-32_Function_Calling_Conventions/IA32.html#//apple_ref/doc/uid/TP40002492-SW4

https://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/LowLevelABI/140-x86-64_Function_Calling_Conventions/x86_64.html

Unfortunately, x86-64.org has been unavailable since at least the beginning of the year, so the normal location for the spec is no longer useful. I've attached the latest version I have in a separate e-mail, but it's being held for moderator approval due to the size.

- Chuck

THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

Thanks Dmitry.