Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: m0-unified-mem…
Commits on May 2, 2012
  1. @cotto
  2. @cotto
  3. @cotto
  4. @cotto

    add a debugging macro for c-m0

    cotto authored
  5. @cotto
  6. @nbrown @cotto

    Treat argv[1] as an m0 string instead of a C string

    nbrown authored cotto committed
  7. @nbrown @cotto
Commits on May 1, 2012
  1. @cotto
  2. @cotto
  3. @nbrown

    Make interp_argv be uint64_t* instead of char**

    nbrown authored
    The pointers in interp_argv need to be uniformly 8 bytes each. This will
    make m0_args_basic access the correct argument.
  4. @nbrown
Commits on Apr 30, 2012
  1. @cotto
  2. @cotto

    update cm0 to encode cli arguments as M0 strings

    cotto authored
    The code emits a warning and needs a bit of cleanup, but the new
    args_basic test successfully prints out its first arg.  Issues with the
    m0_args.t are probably due a bug in that test.
  3. @cotto
  4. @cotto

    comment up the m0 args test

    cotto authored
Commits on Apr 29, 2012
  1. @cotto
Commits on Apr 27, 2012
  1. @nbrown
Commits on Apr 25, 2012
  1. @nbrown
  2. @nbrown

    Increment PC by 1 instead of 4 in m0_poke_caller and c implementation

    nbrown authored
    Undo workaround for the m0 c implementation. This allows the c and perl
    implementations to both pass the m0_poke_caller test.
Commits on Apr 24, 2012
  1. @nbrown

    Change how constants are stored

    nbrown authored
    Use a similar strategy as the callframe storage, store each constant as either
    a uint64_t or a pointer to something larger. This gives integer & floating
    point constants value semantics and strings pointer semantics.
    
    This allows the c implementation to pass all tests using a single deref call
    instead of the double deref previously required for constants with value
    semantics.
  2. @nbrown

    Revert double derefs

    nbrown authored
Commits on Apr 15, 2012
  1. @nbrown

    The in-memory layout of a call frame must be specified

    nbrown authored
    If it's not specified, operations on the call frame registers will be
    implementation specific.
  2. @nbrown

    Add the CHUNK_MAP field to the interpreter data

    nbrown authored
    I'm not sure what this is, but it's missing from the spec and included in the
    perl M0 assembler implementation. Any interpreter using the perl assembler
    needs to know about the field otherwise there will be a mismatch.
Commits on Apr 14, 2012
  1. @nbrown

    Remove accidental include

    nbrown authored
Commits on Apr 11, 2012
  1. @nbrown
  2. @nbrown
Commits on Apr 9, 2012
  1. @nbrown

    Expand tab.

    nbrown authored
  2. @nbrown
  3. @nbrown

    Remove interp argument from ops functions.

    nbrown authored
    The spec says "The current call frame is passed as the first argument to all
    op functions. The remaining three bytes of the op are passed to the op
    function directly."
    
    Since the interpreter is accessible through the call frame, remove the
    interpreter argument and use the call frame.
  4. @nbrown
  5. @nbrown

    Check to see if the first argument is "kittens"

    nbrown authored
    The algorithm is simple and makes some assumptions, but it works.
  6. @nbrown

    Add debugging code to the args test

    nbrown authored
    If the argc test fails, tell how many arguments were found.
  7. @nbrown
  8. @nbrown
  9. @nbrown

    Update deref calls to use registers instead of values.

    nbrown authored
    This make the hash test pass for the c m0 implementation.
    
    All existing m0 tests pass for the c implementation.
Something went wrong with that request. Please try again.