Re: [PATCH 0/2] Fix sparc64 and x86_64 issues

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

 



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


[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux