In message <[EMAIL PROTECTED]>, Erik Mouw writes:
>On Fri, 12 May 2000 21:49:04 +0100, Philip Blundell wrote:
>> Actually, you probably want -march=armv4 -mcpu=strongarm110. If you are
>> bothered about performance you should also consider using a recent (trunk)
>> version of gcc, and turning on -fomit-frame-pointer.
>
>What's the difference between "-mcpu=strongarm110" and "-march=armv4
>-mcpu=strongarm110"? I understand from the gcc info pages that
>"-mcpu=strongarm110" enables "-march=armv4" and "-mtune=strongarm110".
Sorry, that was a typo in my message. You are right that -mcpu=xxx
is shorthand for -march=xx -mtune=yy.
>Does the latest gcc snapshot generate significantly better code with the
>new ARM backend?
Yes, though it depends on your application whether you will see much benefit.
The kernel does measurably better in some benchmarks with the newer compiler
as compared to gcc 2.95.
p.
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++ Please use [EMAIL PROTECTED] for ++
++ kernel-related discussions. ++