Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Amiga View text rendering (was rebol/view on a 486?)

From: jean:holzammer:faedv-n:bayern at: 22-Jun-2001 8:19

>> Modern C-Compilers can optimize (pipeline !) quite > >> good. Many 68060-optimized programs run 1.5 to 2.0 times faster on a > 060 > >> than a 020 version on the same cpu. >
I.
>Pipelining is done automatically by the CPU, not by the C compiler. >Holger Kruse
Of course it is done by the CPU. What I tried to say is: The compiler can arrange the order of (assembler) instructions in a way to better utilize the possibilities of the pipeline. Example: a:=1+2 b:=b+3 c:=3+4 d:=b+c the second command cannot be processed until the first one is computed. a compiler can optimize the code like this: a:=1+2 c:=3+4 b:=b+3 d:=b+c So while a is computed the cpu can not only fetch and decode the instruction c, but already pass it to the second integer unit of the 060, so it is processsed simultaniously to instruction a. II. If I got you right, /view always redraws the complete graphics buffer and passes it to the GPU even if you just change one pixel in a window ? This would explain why /view is slowed down by AGA a lot more than other applications. III. to the list: I hope this was not to off-topic. Jean