On 12/19/2013 05:48 PM, Philipp Klaus Krause wrote:
>>> Well, GCC supports AVR because people wrote AVR support into
>>> GCC. ;) AVR is a bit more "compiler friendly" than, say, the
>>> Z80.
>
>> Well, I'm not familiar with Z80, but by "compiler friendly" I
>> guess this basically means RISC right ? Each operation can be
>> done on each register, which can be allocated optimally with
>> graph colouring/left edge, etc, etc... ?
>
>> But then this makes the 68k and x86, but supported by gcc, are
>> not compiler friendly either. I'm not familiar at those either
>> but a quick look at their instruction set is enough to see
>> they're not quite RISC right ?
>
> The 68k has a relatively orthogonal instruction set. It is not
> RISC, but much closer to RISC than the Z80.
Indeed, and a much "bigger" processor, in more than just address space.
GCC was/is pretty much the compiler of choice for 68K stuff. It was
generally just about the first thing I'd install on a new Sun
workstation, back in the days of 68K-based Sun workstations. (same
for VAX)
-Dave
--
Dave McGuire, AK4HZ
New Kensington, PA
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user