1 |
On 30/07/12 19:40, Alecks Gates wrote: |
2 |
> What are the benefits and drawbacks of using the x32 ABI |
3 |
|
4 |
Benefits: An x32 application is limited to a 32-bit address range but |
5 |
runs in 64-bit CPU mode. The intent is to not waste any memory, but be |
6 |
as fast as any other 64-bit application. |
7 |
|
8 |
Drawbacks: Don't expect to get a fully working system. Many |
9 |
applications will either not build, or break at runtime when compiled in |
10 |
this mode. Also, some application will run slower because they come |
11 |
with hand coded assembly routines for x86 and x86-64, but not for x32. |
12 |
That means that generic C code paths will be used for x32, and they're |
13 |
slower compared to the hand optimized assembly routines. |
14 |
|
15 |
Also note that x32 is not compatible with 32-bit applications. If you |
16 |
build an x86-64/x32 system, you lose the x86/x86-64 multilib capability |
17 |
unless there's a way to have a three-way multilib Gentoo with |
18 |
x86/x32/x86-64. |