From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14212 invoked by alias); 18 Dec 2001 02:59:17 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 13928 invoked from network); 18 Dec 2001 02:57:57 -0000 Received: from unknown (HELO bothner.com) (216.102.199.253) by sources.redhat.com with SMTP; 18 Dec 2001 02:57:57 -0000 Received: from bothner.com (eureka.bothner.com [192.168.1.9]) by bothner.com (8.11.6/8.11.6) with ESMTP id fBI2wTg28215; Mon, 17 Dec 2001 18:58:29 -0800 Message-ID: <3C1EB0B5.8070704@bothner.com> Date: Mon, 17 Dec 2001 18:59:00 -0000 From: Per Bothner User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6+) Gecko/20011201 X-Accept-Language: en-us MIME-Version: 1.0 To: dewar@gnat.com CC: gcc@gcc.gnu.org Subject: Re: Big-endian Gcc on Intel IA32 References: <20011218023348.E7CB2F28BD@nile.gnat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2001-12/txt/msg00972.txt.bz2 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/