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 Jun 7 13:01:50 CEST 2004
    Subject: [openrisc] l.mulu problem
    Top
    * whli_interqos@y... (whli_interqos@y...) wrote:
    > Hi all,
    > I wrote an assembly code with l.mulu and ran in the openrisc
    > simulator. I found that the simulator aborted abnormally when it run l.mul

    was that for the l.mul or l.mulu? (i didn't have any problems with
    simulation of l.mul)

    > instruction. I wounder if the simulator does not support it? By the way,
    > which of c code will generate l.mulu operation? I tried the following
    > codes, but it didnot generate the l.mulu operation.
    > unsigned int a;
    > unsigned int b;
    > unsigned int c;
    > c = a * b;
    >
    > Can anyone tell me?

    you are right, the gcc generates just 'l.mul' and not 'l.muli'
    or 'l.mulu'.

    regards,
    p.

    ReferenceAuthor
    [openrisc] l.mulu problemWhli_interqos

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