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: =?unknown-8bit?Q?Gy=F6rgy?= 'nog' Jeney<nog@s...>
    Date: Thu Mar 24 21:10:29 CET 2005
    Subject: [openrisc] [or1ksim #58] Reclasify l.trap/l.sys
    Top
    Hi,

    I don't know how the instructions were clasified into functional units (I guess
    according to the rtl) so I don't really know if this is right, but it definatly
    seems like the right thing. This reclasifies the l.trap and l.sys instructions
    to be exception instructions. If these two aren't exception instructions then I
    am really missunderstanding something.

    ChangeLog:
    * Reclasify l.trap and l.sys to be an exception instruction.

    nog.
    -------------- next part --------------
    diff -urp --unidirectional-new-file /home/nog/or1ksim-split/cpu/or32/or32.c ./cpu/or32/or32.c
    --- /home/nog/or1ksim-split/cpu/or32/or32.c 2005-03-20 14:17:55.000000000 +0100
    +++ ./cpu/or32/or32.c 2005-02-24 17:29:04.000000000 +0100
    @@ -147,9 +132,9 @@ CONST struct or32_opcode or32_opcodes[]
    { "l.macrc", "rD", "00 0x6 DDDDD ----1 0000 0000 0000 0000",
    EF(l_macrc), 0, it_mac },
    { "l.sys", "K", "00 0x8 00000 00000 KKKK KKKK KKKK KKKK",
    - EF(l_sys), 0, it_unknown },
    + EF(l_sys), 0, it_exception },
    { "l.trap", "K", "00 0x8 01000 00000 KKKK KKKK KKKK KKKK",
    - EF(l_trap), 0, it_unknown },
    + EF(l_trap), 0, it_exception },
    { "l.msync", "", "00 0x8 10000 00000 0000 0000 0000 0000", EFN,
    0, it_unknown },
    { "l.psync", "", "00 0x8 10100 00000 0000 0000 0000 0000", EFN,

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