LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Openrisc > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: Matjaz Breskvar <phoenix@o...>
    Date: Sat, 31 May 2003 14:36:24 +0200
    Subject: Re: FW: [openrisc] GCC problem
    Top

    * Raymond Chow (rchow@n...) wrote:
    > 
    > Thank you for your suggestion to use gcc-3.2.3. It helped, and my problem
    > was
    > solved but only in non-optimized mode (O0). With any optimization (levels 1,
    > 2
    > or 3) turned on, system crashes and SP, FP, LR and PC registers get
    > corrupted.
    > Debugging and analyzing the assembly code for non-optimized and optimized
    > version
    > of the API where system usually crashes, I noticed that the difference is
    > how extensively
    > FP register is used for stack store/load operations when optimization is
    > turned off, and is
    > not used at all when optimization is on. I wonder why is this big difference
    > how FP is
    > used, and is there a some compiler option that can be used to fix this
    > problem?
    
    it would be helpful if you would provide some more detailed information on
    your setup, what are you trying to achieve and if possible a simple testcase.
    
    m.
    
    
    

    ReferenceAuthor
    FW: [openrisc] GCC problemRaymond Chow

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.