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: Wed Sep 14 20:21:16 CEST 2005
    Subject: [openrisc] or1ksim rc1
    Top
    * Gy?rgy 'nog' Jeney (nog@s...) wrote:

    > This fails 'cause RAW_RANGE_STATS was being defined to 1 in config.h, despite
    > you not giveing configure the --enable-range-stats option (I think). I've fixed
    > this in the attached patch. Other than this it looks good.

    patch is ok, but:

    In file included from execute.c:709:
    execgen.c: In function 'decode_execute':
    execgen.c:2995: error: invalid lvalue in assignment
    execgen.c:3019: error: invalid lvalue in assignment
    execgen.c:3050: error: invalid lvalue in assignment
    execgen.c:3074: error: invalid lvalue in assignment
    execgen.c:3105: error: invalid lvalue in assignment
    execgen.c:3136: error: invalid lvalue in assignment
    execgen.c:3167: error: invalid lvalue in assignment
    execgen.c:4795: error: invalid lvalue in assignment
    execgen.c:4818: error: invalid lvalue in assignment
    execgen.c:4850: error: invalid lvalue in assignment
    execgen.c:4882: error: invalid lvalue in assignment

    it seams that gcc-4.x doesn't like things like:

    (signed)b += (signed)cpu_state.reg[(insn >> 16) & 0x1f];

    regards,
    p.

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