From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,8397de2475cf4666 X-Google-Attributes: gid111c93,public From: Takeyasu Wakabayashi Subject: Re: True 64 bit mode? Date: 2000/02/18 Message-ID: #1/1 X-Deja-AN: 587222310 References: <88hn7v$h78$1@amdint2.amd.com> Content-Type: text/plain; charset=US-ASCII X-Complaints-To: usenet@news102.toyama-u.ac.jp X-Trace: news102.toyama-u.ac.jp 950854311 2399 160.26.90.97 (18 Feb 2000 06:11:51 GMT) Organization: Toyama Univ,Japan. Mime-Version: 1.0 (generated by tm-edit 7.106) NNTP-Posting-Date: 18 Feb 2000 06:11:51 GMT Newsgroups: comp.os.linux.alpha "Travis Wheatley" writes: > I am looking for suggestions regarding how to verify/prove that this > particular installation is, in fact, running as a true 64 bit platform. > > Any feedback will be greatly appreciated. If my understanding is right, a 64bit operating system means that the address space it uses is 64bit long, i.e. it can support 2^64 bytes virtual address space. Linux/Alpha surely uses 64bit `void *' type, so it is a 64bit OS in this respect. Try the following program: /**********************************************************************/ #include #include int main(void) { printf("size of pointer: %ld bits\n", sizeof(void *) * CHAR_BIT); return 0; } -- Takeyasu Wakabayashi Faculty of Economics, Toyama University twakaba@eco.toyama-u.ac.jp