Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Discussion Groups

Discussion Groups | Analog Devices DSPs | VisualDSP 2.0 optimizer

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

VisualDSP 2.0 optimizer - Author Unknown - Mar 6 23:13:00 2002



'm having trouble with the optimizer in the SHARC VisualDSP 2.0
removing "un-necessary" code, which renders the code non-
functional. Is there *any* way to turn off the optimizer in the source
module with a pragma?
Thanks
--Rob Alexander





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

RE: VisualDSP 2.0 optimizer - Waldron, Donald M - Mar 7 13:19:00 2002

For C files, you can right-clicking on the C file in the Project Window,
select

File Options-> Build With File Specific Settings (button) -> Compile (tab)
and disable optimization (button).

You can also add Additional Options to control the optimization level (-O0
to disable optizations)

Regards

Don Waldron

> -----Original Message-----
> From: [SMTP:]
> Sent: Wednesday, March 06, 2002 6:13 PM
> To:
> Subject: [adsp] VisualDSP 2.0 optimizer
>
> 'm having trouble with the optimizer in the SHARC VisualDSP 2.0
> removing "un-necessary" code, which renders the code non-
> functional. Is there *any* way to turn off the optimizer in the source
> module with a pragma?
> Thanks
> --Rob Alexander > _____________________________________
> /groups.php3




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

Re: VisualDSP 2.0 optimizer - Kenneth Porter - Mar 7 23:02:00 2002

On Wed, 2002-03-06 at 15:13, wrote:
> 'm having trouble with the optimizer in the SHARC VisualDSP 2.0
> removing "un-necessary" code, which renders the code non-
> functional. Is there *any* way to turn off the optimizer in the source
> module with a pragma?

Can you provide an example? Is this code that should be using a volatile
qualifier to disable optimization? You may also want to check with ADI
for interim fixes that address specific optimizer bugs.




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

Re: Re: VisualDSP 2.0 optimizer - alokmodak - Mar 12 10:16:00 2002

The optimization can be disabled by deselecting the Enable optimization in
Project->Options->Compile->General. Also are you optimizing for size or for performance. when you are optimizing
for the size the com-piler disables loop unrolling, delay slot filling, and jump
avoidance. I think the problem lies there. Alok Modak
IIT Bombay

"Kenneth Porter" wrote:
On Wed, 2002-03-06 at 15:13, wrote:
> 'm having trouble with the optimizer in the SHARC VisualDSP 2.0
> removing "un-necessary" code, which renders the code non-
> functional. Is there *any* way to turn off the optimizer in the source
> module with a pragma?

Can you provide an example? Is this code that should be using a volatile
qualifier to disable optimization? You may also want to check with ADI
for interim fixes that address specific optimizer bugs.
_____________________________________
/groups.php3
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from
http://www.planetm.co.in




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