On Wed, Aug 5, 2009 at 9:51 PM, Blue Swirl<blauwirbel@xxxxxxxxx> wrote: > Hi, > > With these patches, I can run Sparse on OpenBIOS sources (which use > libgcc) also when compiling for 64 bit targets. 64 bit targets use 128 > bit double cells, just like 64 bit double cells are used on 32 bit > targets. > > I'm not sure if 'long long long' is actually used, libgcc uses > __attribute__ ((mode (TI))). > > Blue Swirl (2): > Add support for TImode type (__int128_t) > Define __LP64__ for x86_64 unless in 32 bit mode > > cgcc | 9 +++++---- > evaluate.c | 8 +++++--- > expand.c | 3 ++- > gdbhelpers | 3 +++ > parse.c | 25 ++++++++++++++++++++++--- > show-parse.c | 3 +++ > symbol.c | 6 ++++++ > symbol.h | 8 +++++--- > target.c | 1 + > target.h | 1 + > 10 files changed, 53 insertions(+), 14 deletions(-) > There was a bug in the 128 bit constant in cgcc, I forgot to subtract one. Here are updated patches as attachments.
Attachment:
0001-Add-support-for-TImode-type-__int128_t.patch
Description: application/mbox
Attachment:
0002-Define-__LP64__-for-x86_64-unless-in-32-bit-mode.patch
Description: application/mbox