From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12639 invoked by alias); 31 Mar 2011 12:32:46 -0000 Received: (qmail 12630 invoked by uid 22791); 31 Mar 2011 12:32:46 -0000 X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from lo.gmane.org (HELO lo.gmane.org) (80.91.229.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 31 Mar 2011 12:32:39 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q5H3G-0001kH-Go for gcc@gcc.gnu.org; Thu, 31 Mar 2011 14:32:38 +0200 Received: from 193.128.72.68 ([193.128.72.68]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 31 Mar 2011 14:32:38 +0200 Received: from pocmatos by 193.128.72.68 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 31 Mar 2011 14:32:38 +0200 To: gcc@gcc.gnu.org From: "Paulo J. Matos" Subject: Re: Supporting multiple pointer sizes in GCC Date: Thu, 31 Mar 2011 13:45:00 -0000 Message-ID: References: <371569CBCFB2E745B891DBB88B2DFDDD1A229C5E3A@KCINPUNHJCMS01.kpit.com> <371569CBCFB2E745B891DBB88B2DFDDD1A22BB908B@KCINPUNHJCMS01.kpit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 In-Reply-To: X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2011-03/txt/msg00527.txt.bz2 On 30/03/11 08:57, Claudiu Zissulescu wrote: > Hi, > > I would try using the named address space for your issue (see > TARGET_ADDR_SPACE_POINTER_MODE). Please check the SPU target for an > implementation example. > Hummm, I haven't noticed this hook before. Could this be used to implement cases where function pointers have a different size than data pointers (as in harvard archs). It looks like it but can someone confirm? Cheers, -- PMatos