From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <7d450cd21547df86383d8e5125f1bb26@terzarima.net> To: kmagnum@gmail.com, 9fans@cse.psu.edu Subject: Re: [9fans] 64-Bit programming model. From: Charles Forsyth Date: Fri, 30 Sep 2005 17:06:30 +0100 In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-itxyotexszlgviakyrboxmgntm" Cc: Topicbox-Message-UUID: 926b8a9e-ead0-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-itxyotexszlgviakyrboxmgntm Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit plan 9 code has u32int, u64int etc which is still rather ugly but easier to speak without stammering, and is mainly confined to code that requires particular widths. the integer type big enough to hold a pointer is uintptr. --upas-itxyotexszlgviakyrboxmgntm Content-Type: message/rfc822 Content-Disposition: inline Received: from mail.cse.psu.edu ([130.203.4.6]) by lavoro; Thu Dec 31 14:42:30 GMT 1998 Received: from psuvax1.cse.psu.edu (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 77257C6AD1 for ; Fri, 30 Sep 2005 11:44:56 -0400 (EDT) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: from localhost (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 9FA20C6A4B for <9fans@cse.psu.edu>; Fri, 30 Sep 2005 11:44:31 -0400 (EDT) Received: from mail.cse.psu.edu ([127.0.0.1]) by localhost (psuvax1 [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18245-01-64 for <9fans@cse.psu.edu>; Fri, 30 Sep 2005 11:44:26 -0400 (EDT) Received: from qproxy.gmail.com (qproxy.gmail.com [72.14.204.205]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 7E595C69E8 for <9fans@cse.psu.edu>; Fri, 30 Sep 2005 11:44:26 -0400 (EDT) Received: by qproxy.gmail.com with SMTP id q17so115104qba for <9fans@cse.psu.edu>; Fri, 30 Sep 2005 08:44:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZLH2Zr4+77Nd7vom6lpDfZZga5l/No/TWuQUqkcus2+Q6H7zhULlI28PkUIg2acouf9e4/nbQdCfCmZe5aJ6jCGcGWT37/MN+8wV0rUU++zLSxMd6U7zXl4G8gVxXin6LE327Q8UvrUGto+dDLH9nuZBjxwymlRG/hG0S1VrDPU= Received: by 10.65.54.18 with SMTP id g18mr1007731qbk; Fri, 30 Sep 2005 08:44:25 -0700 (PDT) Received: by 10.65.133.9 with HTTP; Fri, 30 Sep 2005 08:44:25 -0700 (PDT) Message-ID: Date: Fri, 30 Sep 2005 11:44:25 -0400 From: Karl Magdsick To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] 64-Bit programming model. In-Reply-To: <3d9930aa542f29f26c3014fa5cf12f7a@terzarima.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <32a656c20509300431j6ab02b7cm7512019149d45a59@mail.gmail.com> <3d9930aa542f29f26c3014fa5cf12f7a@terzarima.net> X-Virus-Scanned: by amavisd-new at cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Karl Magdsick , Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: 9fans-bounces+forsyth=terzarima.net@cse.psu.edu Errors-To: 9fans-bounces+forsyth=terzarima.net@cse.psu.edu [obligatory plug for C99 types] u_int8_t, int32_t, u_int32_t, int64_t, u_int64_t, etc. are for use in code that is dependent upon integer width. [/obligatory plug for C99 types] -Karl On 9/30/05, Charles Forsyth wrote: > on amd64 it is: > > short is 16 bits, as before for Plan 9 > int and long are 32 bits, as before > long long is 64 bits, also as before > pointers are 64 bits, not as before. (it's that last bit causes most of = the trouble.) > i think it must be LLP64 in your scheme > > > > ---------- Forwarded message ---------- > From: Vester Thacker > To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> > Date: Fri, 30 Sep 2005 04:31:45 -0700 > Subject: [9fans] 64-Bit programming model. > Okay, time for the "dumb question of the month". > > Concerning Plan 9 64-Bit support, which Long Pointer programming model > is being used with Sparc64 and AMD64 ports? LLP64, LP64 or ILP64. Just > curious. > > Forgive my ignorance, I am a layman and nowadays get my schooling > though search engine results. > > --vester > > --upas-itxyotexszlgviakyrboxmgntm--