From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31935 invoked by alias); 25 Mar 2011 17:50:15 -0000 Received: (qmail 31918 invoked by uid 22791); 25 Mar 2011 17:50:13 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from ausc60ps301.us.dell.com (HELO ausc60ps301.us.dell.com) (143.166.148.206) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 25 Mar 2011 17:50:09 +0000 X-Loopcount0: from 10.152.240.141 Subject: Re: Supporting multiple pointer sizes in GCC Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Paul Koning In-Reply-To: Date: Fri, 25 Mar 2011 17:53:00 -0000 Cc: "Jayant R. Sonar" , Content-Transfer-Encoding: quoted-printable Message-Id: References: <371569CBCFB2E745B891DBB88B2DFDDD1A229C5E3A@KCINPUNHJCMS01.kpit.com> To: DJ Delorie 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/msg00410.txt.bz2 On Mar 25, 2011, at 1:37 PM, DJ Delorie wrote: >=20 > "Jayant R. Sonar" writes: >> Is it possible to support multiple pointer sizes (e.g. 16bit, 32bit) >> which can co-exist in single compilation unit? >> Whether it is supported in GCC now? >> Is there any other architecture which has this feature already=20 >> implemented? >=20 > Yes, there are three that I know of - mips64, s390 (tpf), and m32c. ? MIPS has two pointer sizes, but a given compilation (gcc invocation) use= s only one of them, it comes from the chosen ABI. paul