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

    Fix argc handling

    committed with macournoyer Apr 1, 2009
  2. @macournoyer
  3. @macournoyer

    Check off the TODO

    committed with macournoyer Apr 1, 2009
  4. @macournoyer

    Switch to getopt and freegetopt.

    committed with macournoyer Apr 1, 2009
    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 Apr 1, 2009
  7. Fix argc handling

    committed Apr 1, 2009
  8. @macournoyer

    convert tab to space

    macournoyer committed Apr 1, 2009
  9. @macournoyer
  10. Check off the TODO

    committed Apr 1, 2009
  11. Switch to getopt and freegetopt.

    committed Apr 1, 2009
    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 Apr 1, 2009
    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 Mar 31, 2009
  3. @macournoyer
Commits on Mar 31, 2009
  1. @macournoyer

    Only allocate what's needed for the stack.

    macournoyer committed Mar 30, 2009
    Fix max register count in compiler.
  2. @macournoyer

    Store Fixnum as immediate value. Huge speedup in benchmarks!

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

    Add note RE optimization.

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

    Store instruction in a 4 bytes unsigned int.

    macournoyer committed Mar 27, 2009
    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 Mar 26, 2009
  2. @macournoyer
  3. @macournoyer

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

    macournoyer committed Mar 25, 2009
    …, 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 Mar 24, 2009
    Fix bug in upval caused by recent optimizations.
  2. @macournoyer
  3. @macournoyer

    Speedup interpreter loop.

    macournoyer committed Mar 24, 2009
    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 Mar 20, 2009
    …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.