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

    Message

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

    From: cvs at opencores.org<cvs@o...>
    Date: Thu Sep 29 13:13:05 CEST 2005
    Subject: [cvs-checkins] MODIFIED: or1k ...
    Top
    Date: 00/05/09 29:13:13

    Modified: or1k/or1ksim/cpu/or32 generate.c
    Log:
    gcc4 compile fix




    Revision Changes Path
    1.14 or1k/or1ksim/cpu/or32/generate.c

    http://www.opencores.org/cvsweb.shtml/or1k/or1ksim/cpu/or32/generate.c.diff?r1=1.13&r2=1.14

    (In the diff below, changes in quantity of whitespace are not shown.)

    Index: generate.c
    ===================================================================
    RCS file: /cvsroot/nogj/or1k/or1ksim/cpu/or32/generate.c,v
    retrieving revision 1.13
    retrieving revision 1.14
    diff -u -b -r1.13 -r1.14
    --- generate.c 31 Mar 2005 15:59:32 -0000 1.13
    +++ generate.c 29 Sep 2005 11:12:59 -0000 1.14
    @@ -193,7 +193,7 @@
    'a' + num_ops, 1 << sbit, 'a' + num_ops,
    0xffffffff << sbit);
    opd++;
    - shift_fprintf (level, fo, "(signed)%c += (signed)cpu_state.reg[(insn >> %i) & 0x%x];\n",
    + shift_fprintf (level, fo, "*(orreg_t *)&%c += (orreg_t)cpu_state.reg[(insn >> %i) & 0x%x];\n",
    'a' + num_ops, opd->type & OPTYPE_SHR,
    (1 << opd->data) - 1);
    dis = 1;



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