From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4FA5E8D2.7090102@gmail.com> Date: Sat, 5 May 2012 22:58:26 -0400 From: "Joel C. Salomon" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: 9fans@9fans.net References: <1411330.QJAbfBr5F9@blitz> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] integer width on AMD64 Topicbox-Message-UUID: 8443653e-ead7-11e9-9d60-3106f5b1d025 On 05/05/2012 05:06 PM, Comeau At9Fans wrote: > On Sat, May 5, 2012 at 1:48 PM, Charles Forsyth wrote: > > if it's performance you're worried about, for programs that don't > care about width, i'd expect 32 bits at least > to match performance with 64 bits (if there's a measurable > difference). for one thing, cache lines will contain > more values, and several will be fetched at once when cache lines > are filled. > > And for programs that do care about this, C99 provides things such as > int_fast64_t (which IIRC 8c et al does not currently support). is just a bunch of typedef's, some of which have been included, under different names (u{8,16,32,64}int), in . Wouldn't be hard to provide for APE if anyone wants it. --Joel