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: Mon Dec 20 23:18:45 CET 2004
    Subject: [openrisc] OpenRisc Benchmarking
    Top
    * zhang_lsv@y... (zhang_lsv@y...) wrote:
    > I borrowed the Makefile from the testbench in the 'sim' package. It
    > seems not using O2 option there. Now I added -O3, and the number of
    > cycles has decreased to 7 Million, which is still 8-9 times larger than
    > others. Do any other options I can play with ?
    >
    > In addition to the number of cycles, how can I know the "number of
    > total instructions" so that I can compute "IPC"?

    try also -fomit-frame-pointer and be sure configure memory delays to 0
    in the sim.cfg.

    the code you have looks simple enough so i'd investigate the assembler
    to chack for hardware muls and the the code seams reasonable...

    regards,
    p.

    ReferenceAuthor
    [openrisc] OpenRisc BenchmarkingZhang_lsv

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