If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Hybrid View

Google Wants LLVM To Mainline x32 ABI Support

Phoronix: Google Wants LLVM To Mainline x32 ABI Support

The Google Native Client (NaCl) team is looking to upstream some of their LLVM changes such as support for Software Fault Isolation (SFI). As part of pushing forward the changes for Native Client in LLVM, they're also looking to see mainlined the x32 ABI support. X32 is the Application Binary Interface that looks to take advantage of common x86_64 CPU features like increased CPU registers and more instruction set extensions while using 32-bit pointers...

On newer Desktop/laptop machines, this is true. On an atom/brazos machine, there are sometimes hardware limitations to the amount of RAM the system can have... In those cases, the chip might be able to run 64-bit code (and get the new instructions and more registers), but it wouldn't hurt to have 32-bit pointers to items in RAM.

It is not so much about reduced RAM usage. The important point is that with smaller pointers you can fit more into the CPU caches.
The biggest slowdown is usually cache misses, and those could be reduced with smaller pointers

Only a little off topic, but it still related to Google's Native Client.
There are plenty of games, built with Native Client and they are of nearly quality.
I would like to point those from CoreOnline.com (a SquareEnix website), which includes: Lara Croft and the Guardians of Light.
Some of these games works really great on Linux if you have proper video cards with proper device drivers and the latest stable Linux version of Google Chrome.
Phoronix usually don't like to cover these titles.
In my opinion, Steam is the best thing ever on Linux gaming, but there are some other platforms on Linux, which are less known, but with great capabilities and are very innovative, like Native Client.

Only a little off topic, but it still related to Google's Native Client.
There are plenty of games, built with Native Client and they are of nearly quality.
I would like to point those from CoreOnline.com (a SquareEnix website), which includes: Lara Croft and the Guardians of Light.
Some of these games works really great on Linux if you have proper video cards with proper device drivers and the latest stable Linux version of Google Chrome.
Phoronix usually don't like to cover these titles.
In my opinion, Steam is the best thing ever on Linux gaming, but there are some other platforms on Linux, which are less known, but with great capabilities and are very innovative, like Native Client.

I really thought nobody was using Native Client. It will boost very much their Chrome OS.
Anyway, being sandboxed, despite its benefits regarding security, I find it pretty limiting for real world apps, except games. If it can't even access the filesystem it is pointless to port any non-game app to Native Client for Chrome

It is not so much about reduced RAM usage. The important point is that with smaller pointers you can fit more into the CPU caches.
The biggest slowdown is usually cache misses, and those could be reduced with smaller pointers

Exactly. Google's interest in this is that of the performance impact rather than ram usage impact.