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: =?big5?q?li=20stephen?=<whli_interqos@y...>
    Date: Fri Jan 30 04:28:00 CET 2004
    Subject: [openrisc] instruction set problem on openrisc
    Top
    Hi Marko,
    Thank you for the advice.
    I put the the statement,#define MAC(x,y), into my source code. But it seems that there is not multiply-accumulate instruction in the asm code. Did I do anything wrong? Can you give more details on it? Thank you very much.

    Regards,

    Stephen

    Marko Mlinar <markom@o...> wrote:
    > > One more question, If I want to add custom instruction set e.g.
    > > multiply - accumulate in to the openrisc, is there any easy way to make
    > > the complier to generate the instruction set except modifying the
    > > compiler?
    >
    > That;s the only way. You have to modify compiler to generate your custom
    > insns.
    You can also make #define MAC(x,y), which will generate via asm statement
    "word 0xblabla" instruction.


    Marko


    _______________________________________________
    attachment.htm

    ReferenceAuthor
    [openrisc] instruction set problem on openriscMarko Mlinar

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