Sign in

username:

password:



Not a member?

Search AT91SAM



Search tips

Subscribe to AT91SAM



Ads

Discussion Groups

Discussion Groups | AT91SAM ARM | Float multiplication

For users of the Atmel AT91SAM7 and AT91SAM9 ARM CPU chips. Atmel has taken a new direction by combining on chip flash and ram with the ARM CPU on a single die. This provides low cost devices for small systems using the ARM CPU. This group is to exchange information to help users get started and learn how to use the devices.

Float multiplication - =?UTF-8?B?TWljaGHFgg==?= - Feb 19 16:15:59 2008

Hello,

I` am currently working on AT91SAM7S microcontroller. I am implementing
some simple DSP algorithms e.g. FIR filter. I am totally aware of the
fact that fixed point multiplication will by much faster due to the fact
that float operations are implemented in software. But for comparison
reasons I am curios how long (time or number of cycles) does it take to
multiply two float numbers using gcc software support.

I know that I could check this by measuring multiplication time but at
the moment I don’t have access to development board.

Michal



(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )


Re: Float multiplication - =?UTF-8?B?TWljaGHFgg==?= - Feb 19 16:47:30 2008


> Can't you just look at the ASM that is generated?
>
Good idea. I am using yagarto can you give me a clue how to do it?

Michal



(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )

Re: Float multiplication - =?UTF-8?B?TWljaGHFgg==?= - Feb 19 16:56:48 2008

Mark Borgerson pisze:
>
>
>
>> -----Original Message-----
>> From: A...@yahoogroups.com
>> [mailto:A...@yahoogroups.com] On Behalf Of Michal
>> Sent: Tuesday, February 19, 2008 1:07 PM
>> To: A...@yahoogroups.com
>> Subject: [AT91SAM] Float multiplication
>>
>> Hello,
>>
>> I` am currently working on AT91SAM7S microcontroller. I am
>> implementing some simple DSP algorithms e.g. FIR filter. I am
>> totally aware of the fact that fixed point multiplication
>> will by much faster due to the fact that float operations are
>> implemented in software. But for comparison reasons I am
>> curios how long (time or number of cycles) does it take to
>> multiply two float numbers using gcc software support.
>>
>> I know that I could check this by measuring multiplication
>> time but at the moment I don't have access to development board.
>>
>>
> I ran a test some time ago with an AT91SAM7 running at 18.432MHz:
>

Thanks for this information. What was your MCK? I guess that 18.432 is
crystal frequency.

Michal



(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )

RE: Float multiplication - HENK VISSER - Feb 19 17:21:45 2008


Can't you just look at the ASM that is generated?
To: A...@yahoogroups.com
From: s...@o2.pl
Date: Tue, 19 Feb 2008 22:07:01 +0100
Subject: [AT91SAM] Float multiplication

Hello,

I` am currently working on AT91SAM7S microcontroller. I am implementing

some simple DSP algorithms e.g. FIR filter. I am totally aware of the

fact that fixed point multiplication will by much faster due to the fact

that float operations are implemented in software. But for comparison

reasons I am curios how long (time or number of cycles) does it take to

multiply two float numbers using gcc software support.

I know that I could check this by measuring multiplication time but at

the moment I don’t have access to development board.

Michal

_________________________________________________________________
Connect and share in new ways with Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008


(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )

Re: Float multiplication - Pavel Bazika - Feb 23 5:34:32 2008

Dne Tuesday 19 of February 2008 22:38:39 Micha=C5=82 napsal(a):
> > Can't you just look at the ASM that is generated?
>
> Good idea. I am using yagarto can you give me a clue how to do it?
>
> Michal

Look here:

http://www.delorie.com/djgpp/v2faq/faq8_20.html

Pavel

=20

=20


(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )