1. 04 Jun, 2017 1 commit
    • Kunshan Wang's avatar
      Added const qualifier to MuCString. · 6f1896f4
      Kunshan Wang authored
      Now MuCString is a (const char*).  It has always been intended
      that MuCString instances are not to be modified.  This change just makes
      it explicit in the type.
      
      muapiparser.py just ignores the const qualifier.
      6f1896f4
  2. 22 Sep, 2016 1 commit
  3. 19 Sep, 2016 1 commit
  4. 16 Sep, 2016 1 commit
    • Kunshan Wang's avatar
      Added status flags (NZCV) to binOp. · 39604478
      Kunshan Wang authored
      In the text form, the NZCV flags are optional, so existing programs
      are still valid. In the bundle building API, `new_binop` remain
      unchanged, but an additional function `new_binop_with_status` is added,
      so existing programs are still valid.
      
      scripts/*.py are modified to adapt the MuBinOpStatus enum type.
      39604478
  5. 11 Aug, 2016 1 commit
  6. 09 Aug, 2016 1 commit
  7. 21 Jul, 2016 1 commit
  8. 23 Jun, 2016 1 commit
    • Kunshan Wang's avatar
      Fixed muapi.h and improved parser. · b77d8636
      Kunshan Wang authored
      Fixed a bug where the last param of new_thread_nor should be
      MuArraySize.
      
      Removed MuIRNodeRefValue to make MuIRNode unique.
      
      muapi.h also includes the common instruction names in the comment after
      the macro. Improved the API parser for this purpose.
      b77d8636
  9. 22 Jun, 2016 1 commit
    • Kunshan Wang's avatar
      Map IR Builder functions to comminsts. · 8fb468bd
      Kunshan Wang authored
      Now the IR Builder API is also available as common instructions. We keep
      muapi.h as the canonical definition, and the semantics of common
      instructions maps to that of the API functions.
      8fb468bd
  10. 14 Jun, 2016 1 commit
    • Kunshan Wang's avatar
      Sync with refimpl2, added muapiparser.py · 9820e33b
      Kunshan Wang authored
      Improved the annotations in muapi.h so that it is easier to generate
      language bindings automatically.
      
      The muapiparser.py is copied from refimpl2 for convenience.
      9820e33b
  11. 31 May, 2016 1 commit
    • Kunshan Wang's avatar
      Functions for building IR. · 725df50e
      Kunshan Wang authored
      The 'irbuilderref' type is no longer used. 'irnoderef' is the only newly
      introduced Mu type. A bundle node now works as a namespace. All other
      nodes are children of the bundle node. After a bundle node is loaded
      into Mu (or aborted), Mu may de-allocate the bundle node and all of its
      children for space efficiency.
      725df50e