lkml.org 
[lkml]   [1999]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] new makefile for fbcon
On Sat, Nov 13, 1999 at 01:12:07AM +0100, Dominik Kubla wrote:

> a) Can not use better-optimizing compilers from hardware vendors (like Compaq
> on Alpha systems or possibly SUN on SPARC)

Some SGI guys tried to base their own Origin 200 port on their own
toolchain. The result was ... less than great ...

Most of us know pretty well how to write C to achieve a certain output.
Look at loops like:

a = addr & ~(dc_lsize - 1);
end = (addr + size) & ~(dc_lsize - 1);
while (1) {
...
if (a == end) break;
a += dc_lsize;
}

Looks weird? Maybe, but generates best possible assembler code. So while
we write C we often tend to think in assembler.

> b) Can not verify that a certain behaviour is compiler-related without
> analyzing the generated assembler code (a tedious task at best!)

Often trying a different gcc version serves the same purpose.

Ralf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.055 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site