Skip to content
Commits on Apr 2, 2009
  1. @macournoyer

    Fix argc handling

    committed with macournoyer
  2. @macournoyer
  3. @macournoyer

    Check off the TODO

    committed with macournoyer
  4. @macournoyer

    Switch to getopt and freegetopt.

    committed with macournoyer
    If we're on unix, build using local getopt (keeps locale settings better
    sync'd).  Unfortunately, due to the build system, freegetopt.o is still
    linked in in this case.
    
    If we're not on unix, assume there is no unistd.h and use freegetopt.
  5. @macournoyer
  6. @macournoyer

    Add list of known bugs.

    macournoyer committed
  7. Fix argc handling

    committed
  8. @macournoyer

    convert tab to space

    macournoyer committed
  9. @macournoyer
  10. Check off the TODO

    committed
  11. Switch to getopt and freegetopt.

    committed
    If we're on unix, build using local getopt (keeps locale settings better
    sync'd).  Unfortunately, due to the build system, freegetopt.o is still
    linked in in this case.
    
    If we're not on unix, assume there is no unistd.h and use freegetopt.
Commits on Apr 1, 2009
  1. @macournoyer

    Staticly alloc stack.

    macournoyer committed
    Fix nested yield, was broken and din't notice because stack was never freed.
    Import more official benchmarks.
  2. @macournoyer

    Add TODO RE getopt

    macournoyer committed
  3. @macournoyer
Commits on Mar 31, 2009
  1. @macournoyer

    Only allocate what's needed for the stack.

    macournoyer committed
    Fix max register count in compiler.
  2. @macournoyer

    Store Fixnum as immediate value. Huge speedup in benchmarks!

    macournoyer committed
    Add intructions for ! and unary -.
Commits on Mar 29, 2009
  1. @macournoyer

    Add note RE optimization.

    macournoyer committed
  2. @macournoyer
  3. @macournoyer
Commits on Mar 28, 2009
  1. @macournoyer
  2. @macournoyer

    Store instruction in a 4 bytes unsigned int.

    macournoyer committed
    This way, we can have a setup like Lua: 6:8:9:9 and still keep a minimum machine code required to fetch the instruction.
Commits on Mar 26, 2009
  1. @macournoyer

    Implement LT instruction.

    macournoyer committed
  2. @macournoyer
  3. @macournoyer

    No more inlined funciton as instructions. Gonna try emitting ADD, SUB…

    macournoyer committed
    …, LT, GT, etc from compiler to have less instructions and use some more Lua goodness.
  4. @macournoyer
Commits on Mar 25, 2009
  1. @macournoyer

    Move block stuff in block.c.

    macournoyer committed
    Fix bug in upval caused by recent optimizations.
  2. @macournoyer
  3. @macournoyer

    Speedup interpreter loop.

    macournoyer committed
    I don't know why, but I thought doing 'TrInst e = *ip' and accessing instruction info using 'e' would be faster then going through the pointer. Ends up assigning to 'e' on each dispatch costs a lot!
    Also placing labels in a local register var seems to provide a lil' more perf too.
Commits on Mar 22, 2009
  1. @macournoyer
  2. @macournoyer
  3. @macournoyer
  4. @macournoyer

    Abandon usage of R[0] in CLASS and METADEF instructions. Use pseudo-i…

    macournoyer committed
    …nstruction instead to store info exceeding 3 registers.
    
     CLASS 0 0 0
     BOING 0 0 0  ; <= pseudo-instruction of CLASS, to store register containing superclass
Something went wrong with that request. Please try again.