This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

C++ ABI and ILP64


I'm currently playing around making and testing an experimental port of AMD64 
for the ILP64 programming model, and I'd like some feedback about missing C++ 
types in cp/mangle.c as reported in bug http://gcc.gnu.org/PR18744 .

Currently MIPS (with the -mint64 option) is the only official gcc ILP64 
target, but porting AMD64 (by adding a -mint64 option as well) is pretty 
straightforward, and with a little bit of glibc headers patching you can 
actually compile and run simple programs with your existing Linux LP64 system 
libraries without the need to build a full chroot ILP64 toolchain.

In case you're wondering, we're working on very high speed data compression 
libraries, and apart from being useful for portability testing (e.g. for 
those old Cray machines) ILP64 also seems to generate a little bit better 
code for our purposes, mainly because a number of implicit unsigned char -> 
int -> size_t promotions within complex expressions can be shortened to char 
-> size_t, so this is not purely academic.

~Markus

--
Markus F.X.J. Oberhumer
http://www.oberhumer.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]