Author Topic: X32 ABI  (Read 4321 times)

Gunther

  • Member
  • *****
  • Posts: 3585
  • Forgive your enemies, but never forget their names
X32 ABI
« on: July 22, 2013, 02:06:09 AM »
There is the Intel IA-32 ABI which is nearly identical for Windows and different Nixes. On the other hand we've very different Application Binary Interfaces in the 64 bit world. Since a few years there's another ABI; Intel called it X32 ABI.

The x32 ABI is meant for programs for which a 32-bit address size is sufficient but that want to take advantage of the other features of an Intel 64 processor. It gives more and wider registers, faster parameter passing via registers, but with 32 bit pointers. The programming model is supported by the Intel compiler and the GCC 4.8 and above. Has anyone experiences with that and is it worth the hassle?

Gunther
Get your facts first, and then you can distort them.

jj2007

  • Member
  • *****
  • Posts: 10655
  • Assembler is fun ;-)
    • MasmBasic
Re: X32 ABI
« Reply #1 on: July 22, 2013, 02:57:21 AM »
Looks familiar, Gunther ;-)

Gunther

  • Member
  • *****
  • Posts: 3585
  • Forgive your enemies, but never forget their names
Re: X32 ABI
« Reply #2 on: July 22, 2013, 03:42:00 AM »
Jochen,

Looks familiar, Gunther ;-)

but that example is explicit compiled for the native 64 bit ABI.

Gunther
Get your facts first, and then you can distort them.