Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: Global arrays

2006-05-26 by brendanmurphy37

It's unlikely to be a compiler problem with optimisation: I believe 
the ARM compiler to be very reliable in terms of producing correct 
code.

You don't say anything about the exact failure mode.

I'd suggest removing as much as possible to get as small an example 
as possible of the problematic code, and work from there.

Brendan

--- In lpc2000@yahoogroups.com, vineet jain <vineetrvce@...> wrote:
>
> Hello again,
>     I am using the armcc compiler from ARM itself. Also I already  
tried the static option. Doesn't quite work. Thanks for that.
>   
>   Difficult to understand the disassembly code comparsion b/n o0 
and o3.
>   
>   Anyways thanks for all your comments. I'll do what I can.
>   
>   Cheers,
>   Vineet.
> 
> Eric Rullens <gorilla@...> wrote:        Vineet,
>   
>   >     I need to use that option for speed. Can't get away with 
that.
>   >   
>   >   Any other pointers?
>   
>   It would help if you told what compiler (+version, platform etc.) 
you are
>   using. Also you might want to look at the code generated by your 
compiler to
>   get a clue about what it is doing... You may want to code that 
specific
>   section in assembly if speed really is an issue.
>   
>   And if you do not find the problem, perhaps post a minimal code 
sample that
>   produces the same issue.
>   
>     Eric
>   
>   
>   
>   
>   > Eric Rullens <gorilla@...> wrote:        > --- In 
>   > lpc2000@yahoogroups.com, Tom Walsh <tom@> wrote:
>   >   > > The boingboing ARM compiler version 198 is broken, don't 
use -O3
>   >   > > 
>   >   > > TomW
>   >   > 
>   >   > boingboing?
>   >   
>   >   Yeah, the same goes for the bzzztbzzzt ARM compiler v2.01c....
>   >   
>   >     Eric
>                   
> 
>           SPONSORED LINKS    
>                                                         
Microcontrollers                                          
Microprocessor                                          Intel 
microprocessors                                                       
                      
>         
> ---------------------------------
>     YAHOO! GROUPS LINKS  
>   
>       
>     Visit your group "lpc2000" on the web.
>      
>     To unsubscribe from this group, send an email to:
>  lpc2000-unsubscribe@yahoogroups.com
>      
>     Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.  
>   
>       
> ---------------------------------
>   
>   
>           
> 
> 			
> ---------------------------------
> Sneak preview the  all-new Yahoo.com. It's not radically different. 
Just radically better. 
> 
> [Non-text portions of this message have been removed]
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.