This is the mail archive of the gcc-patches@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]

Re: [patch]: Add support of new __int128 type for targets having 128-bit integer scalar support


On 05/05/2010 16:30, Kai Tietz wrote:
> 2010/5/4 Joseph S. Myers:

>> There are no current targets with non-8-bit-bytes.  If such a target it
>> added, the existing
>>
>> #if HOST_BITS_PER_WIDE_INT >= 64
>>  if (targetm.scalar_mode_supported_p (TImode))
>>    ...
>> #endif
>>
>> conditionals are one of the many things that will need fixing.
> 
> Well, I thought cray is one of those targets with non-8-bit-bytes, but
> well, maybe I am wrong here.

  There may be(*) private targets with non 8-bit bytes, we should really try
not to embed any more CHAR_BIT==8 assumptions than already exist.

    cheers,
      DaveK
-- 
(*) - I recently needed to build a dummy compiler for just such a target: the
compiler did not need to work, just the driver needed to function enough for
Eclipse integration when 'compiling' *.s files.  As it currently stands, I
only had to fix a few trivial problems to make that much work.  There were
definitely further problems down the road had I had to go any further with it,
but it was enough to convince me that we're not in *too* bad shape w.r.t.
non-8-bit-bytes and it would be worth trying not to make it worse.


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