Re: Denial of denial of service

[prev] [thread] [next] [lurker] [Date index for 2007/01/29]

From: Andy Armstrong
Subject: Re: Denial of denial of service
Date: 12:51 on 29 Jan 2007
On 29 Jan 2007, at 12:10, Yossi Kreinin wrote:
> I can try to move this from hates-hardware to hates-software by  
> pointing out that compilers have hard time dealing with ARM, which  
> has only 16 registers (it prefers to spend the encoding on  
> condition bits and shifter operands). For random C code, compilers  
> produce much better code given a lot of registers since the  
> stupidity of register spilling heuristics is crucial less frequently.

I seem to remember that the Norcroft ARM C compiler did quite an  
impressive job of register colouring and generally working out which  
variables were worth keeping in registers. Certainly better than GCC  
at the time (about 10 years ago).

The best thing about ARM was that it was really sweet to write  
assembly language for though - C always felt restrictive and  
cumbersome by comparison.

> In fact I don't know if it's the compilers or the questionable  
> choice to save registers and instead add optional bells and  
> whistles to each and every instruction.

Questionable my arse! That's what made it so great to program :)

> Of course any RISC architecture, even an "Advanced" RISC Machine,  
> is way easier to deal with than any CISC one.

Word.

-- 
Andy Armstrong, hexten.net

There's stuff above here

Generated at 23:01 on 06 Feb 2007 by mariachi 0.52