dbaspot
Tags Register FAQ Calendar Search Today's Posts Mark Forums Read

High-end AVR vs. low-end ARM? - Arch

This is a discussion on High-end AVR vs. low-end ARM? - Arch ; >>> The LDRHs take 7 cycles (6 + 1), the MLAs take 6 cycles, or in total 26 >>> cycles. >>> That is exactly twice as slow as AVR32 on the above code. So the claim >>> of 11 >>> ...


Home > Database Forum > Other Technologies > Arch > High-end AVR vs. low-end ARM?

Reply

 

LinkBack (1) Thread Tools Display Modes
  #21  
Old 11-14-2008, 01:19 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: High-end AVR vs. low-end ARM?

>>> The LDRHs take 7 cycles (6 + 1), the MLAs take 6 cycles, or in total 26
>>> cycles.
>>> That is exactly twice as slow as AVR32 on the above code. So the claim
>>> of 11
>>> times slower is a total lie. Those Atmel marketeers should be ashamed of
>>> themselves.
>>>

>>
>>
>> And you are comparing 3 MACs with 6 MACs.
>>
>> 6 MACs from memory using AVR32 = 13 clocks.
>> 6 MACs from memory using CM3 = 52 clocks or 4 x difference.

>
>
> No, read again. It's 13 cycles to do 3 MACs, so 26 to do 6 MACS.
>
> Wilco
>



OK,
I see that now, where do you check for saturation?

--
Best Regards,
Ulf Samuelsson
This is intended to be my personal opinion which may,
or may not be shared by my employer Atmel Nordic AB


Reply With Quote
  #22  
Old 11-14-2008, 04:04 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: High-end AVR vs. low-end ARM?


"Ulf Samuelsson" wrote in message news:gfkcrn$7jm$1@aioe.org...
>>>> The LDRHs take 7 cycles (6 + 1), the MLAs take 6 cycles, or in total 26 cycles.
>>>> That is exactly twice as slow as AVR32 on the above code. So the claim of 11
>>>> times slower is a total lie. Those Atmel marketeers should be ashamed of
>>>> themselves.


>>> And you are comparing 3 MACs with 6 MACs.
>>>
>>> 6 MACs from memory using AVR32 = 13 clocks.
>>> 6 MACs from memory using CM3 = 52 clocks or 4 x difference.

>>
>>
>> No, read again. It's 13 cycles to do 3 MACs, so 26 to do 6 MACS.


> OK,
> I see that now, where do you check for saturation?


There is usually no need to check for saturation unless you have 16-bit
ADC's (rare). With saturation it would be 32 cycles.

Wilco


Reply With Quote
  #23  
Old 11-14-2008, 05:01 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: High-end AVR vs. low-end ARM?


"Wilco Dijkstra" skrev i meddelandet
news:7RkTk.45327$nA3.22941@newsfe03.ams2...
>
> "Ulf Samuelsson" wrote in message
> news:gfkcrn$7jm$1@aioe.org...
>>>>> The LDRHs take 7 cycles (6 + 1), the MLAs take 6 cycles, or in total
>>>>> 26 cycles.
>>>>> That is exactly twice as slow as AVR32 on the above code. So the claim
>>>>> of 11
>>>>> times slower is a total lie. Those Atmel marketeers should be ashamed
>>>>> of
>>>>> themselves.

>


So the AVR32 inner loop is only 2-3 x faster than the Cortex-M3.
Yes, noone in their right mind would switch for such¨
a meagre performance increase ;-)

>>>> And you are comparing 3 MACs with 6 MACs.
>>>>
>>>> 6 MACs from memory using AVR32 = 13 clocks.
>>>> 6 MACs from memory using CM3 = 52 clocks or 4 x difference.
>>>
>>>
>>> No, read again. It's 13 cycles to do 3 MACs, so 26 to do 6 MACS.

>
>> OK,
>> I see that now, where do you check for saturation?

>
> There is usually no need to check for saturation unless you have 16-bit
> ADC's (rare). With saturation it would be 32 cycles.
>
> Wilco
>



--
Best Regards,
Ulf Samuelsson
This is intended to be my personal opinion which may,
or may not be shared by my employer Atmel Nordic AB


Reply With Quote
  #24  
Old 11-14-2008, 07:14 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: High-end AVR vs. low-end ARM?


"Ulf Samuelsson" wrote in message news:gfkp5n$pjh$1@aioe.org...
>
> "Wilco Dijkstra" skrev i meddelandet
> news:7RkTk.45327$nA3.22941@newsfe03.ams2...
>>
>> "Ulf Samuelsson" wrote in message news:gfkcrn$7jm$1@aioe.org...
>>>>>> The LDRHs take 7 cycles (6 + 1), the MLAs take 6 cycles, or in total 26 cycles.
>>>>>> That is exactly twice as slow as AVR32 on the above code. So the claim of 11
>>>>>> times slower is a total lie. Those Atmel marketeers should be ashamed of
>>>>>> themselves.

>>

>
> So the AVR32 inner loop is only 2-3 x faster than the Cortex-M3.
> Yes, noone in their right mind would switch for such¨
> a meagre performance increase ;-)


Actually the worst case is 2.5x, but as steve said earlier, actual measurements
taking flash speed etc into account are closer to 1.5x. Either way, that's not
close at all to the claimed 11x difference.

For better DSP performance and more MHz most people would use ARM9E
instead (it's used in many harddrives).

Wilco


Reply With Quote
Reply

Thread Tools
Display Modes


LinkBacks (?)

LinkBack to this Thread: http://dbaspot.com/forums/arch/427088-high-end-avr-vs-low-end-arm.html

Posted By For Type Date
Low avr - Make: Online : Low speed AVR oscilloscope This thread Refback 05-20-2009 08:02 PM


All times are GMT -4. The time now is 03:46 AM.