lkml.org 
[lkml]   [2007]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFT] Port 0x80 I/O speed
From
On 12-12-07 00:55, Nigel Cunningham wrote:

> (AMD 1.8GHz Turion, running at 800MHz. ATI RS480 - Mitac 8350 mobo)
>
> nigel@home:~/Downloads$ gcc port80.c -o port80
> nigel@home:~/Downloads$ sudo ./port80
> cycles: out 1235, in 1207

Looking good.

> nigel@home:~/Downloads$ gcc -O2 port80.c -o port80
> nigel@home:~/Downloads$ sudo ./port80
> cycles: out 1844674407370794, in 1844674407369408

Obviously not. I suppose this changes with -m32 on the GCC command line?
(sorry for missing that, I have no 64-bit machines).

Rene.


\
 
 \ /
  Last update: 2007-12-12 01:05    [W:0.544 / U:0.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site