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: Thu Sep 15 12:41:24 CEST 2005
    Subject: [openrisc] HI
    Top
    Aha, i see. The document is outdated. there are l.sfxxi instructions
    implemented. but you could also rewrite my example into:

    l.sfeqi r0,r0 <--- sets the flag (since r0 is always 0)

    l.ori r1,r0,0x1
    l.sfeqi r0,r1 <--- clears the flag (since 0 != 1)

    regards,
    p.

    * Satish (satish.kumar@n...) wrote:
    > .
    >
    > In of me there is a document which shows all instructions implemented by
    > OR1200, in those instructions "sfeqi" is not there.
    > ----- Original Message -----
    > From: "Matjaz Breskvar" <phoenix@o...>
    > To: "List about OpenRISC project" <openrisc@o...>
    > Sent: Thursday, September 15, 2005 3:45 PM
    > Subject: Re: [openrisc] HI
    >
    >
    > > why do you think it's not supported bu or1200 ?
    > >
    > > * Satish (satish.kumar@n...) wrote:
    > > > Thanks but this instruction is not supported by OR1200, yes it supports
    > by
    > > > OR1000. Do we have any other alternative for this.
    > > >
    > > > Regards
    > > > satish
    > > > ----- Original Message -----
    > > > From: "Matjaz Breskvar" <phoenix@o...>
    > > > To: "List about OpenRISC project" <openrisc@o...>
    > > > Sent: Thursday, September 15, 2005 3:07 PM
    > > > Subject: Re: [openrisc] HI
    > > >
    > > >
    > > > > * Satish (satish.kumar@n...) wrote:
    > > > > > hi,
    > > > > >
    > > > > > I have not seen any "Clear Flag" instruction on OR1200. How clear
    > any
    > > > flag
    > > > > > which is set due to different operations.
    > > > >
    > > > > if you are refering to flag used for branching, than the same
    > instruction
    > > > > that sets it if condition is true will clear it if condition is not
    > true
    > > > >
    > > > > l.sfeqi r0,0 <--- sets the flag (since r0 is always 0)
    > > > >
    > > > > l.sfeqi r0,1 <--- clears the flag (since 0 != 1)
    > > > >
    > > > > best regards,
    > > > > p.
    > > > > _______________________________________________
    > > > > http://www.opencores.org/mailman/listinfo/openrisc
    > > >
    > > > _______________________________________________
    > > > http://www.opencores.org/mailman/listinfo/openrisc
    > > _______________________________________________
    > > http://www.opencores.org/mailman/listinfo/openrisc
    >
    > _______________________________________________
    > http://www.opencores.org/mailman/listinfo/openrisc

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