tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PCC LP64 compiler_rt ((mode (TI))) woe



Hi, list,

I found PCC can not compile a piece of code.  In specific,
it's GCC attribute ((mode (TI))) large size integer designation.

The offending file is
src/sys/external/bsd/compiler_rt/dist/lib/builtins/int_types.h

#if __LP64__
#define CRT_HAS_128BIT
#endif

#ifdef CRT_HAS_128BIT
typedef int      ti_int __attribute__ ((mode (TI)));
typedef unsigned tu_int __attribute__ ((mode (TI)));

PCC has mode (TI) logic which is braced out with #ifdef and
that part is not enabled probably due to the lack of code
generator support.

I'm not sure NetBSD LP64 should support mode (TI) for every
64bit processor case.  What is the most reasonable solution?

Toru Nishimura / ALKYL Technology



Home | Main Index | Thread Index | Old Index