This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Big-endian Gcc on Intel IA32
- From: Per Bothner <per at bothner dot com>
- To: dewar at gnat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 17 Dec 2001 18:57:57 -0800
- Subject: Re: Big-endian Gcc on Intel IA32
- References: <20011218023348.E7CB2F28BD@nile.gnat.com>
dewar@gnat.com wrote:
> Another candidate would be bit packed arrays. In practice this is a very
> useful feature. Currently the circuitry for bit packing is in the front end
> of the Ada compiler, but it would be nice to move it into the back end so
> that other GNU languages could take advantage of it.
Chill also has/had 'bitstrings' and 'powersets' (i.e. what Pascal calls
'sets'), both of which are basically bit-pached arrays of booleans.
The latter uses the SET_TYPE tree code, and we added some support in
store_constructor and a couple of other places, but mostly we just
generated function calls. Real back-end support would have made it
easier to generate better code.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/