Big-endian Gcc on Intel IA32
Per Bothner
per@bothner.com
Mon Dec 17 18:59:00 GMT 2001
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/
More information about the Gcc
mailing list