Permalink
Switch branches/tags
Nothing to show
Commits on Apr 2, 2009
  1. Fix argc handling

    singpolyma authored and macournoyer committed Apr 2, 2009
  2. Check off the TODO

    singpolyma authored and macournoyer committed Apr 2, 2009
  3. Switch to getopt and freegetopt.

    singpolyma authored and macournoyer committed Apr 2, 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.
  4. Add list of known bugs.

    macournoyer committed Apr 2, 2009
  5. Fix argc handling

    singpolyma committed Apr 2, 2009
  6. convert tab to space

    macournoyer committed Apr 2, 2009
  7. Check off the TODO

    singpolyma committed Apr 2, 2009
  8. Switch to getopt and freegetopt.

    singpolyma committed Apr 2, 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. 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. Add TODO RE getopt

    macournoyer committed Apr 1, 2009
Commits on Mar 31, 2009
  1. Only allocate what's needed for the stack.

    macournoyer committed Mar 31, 2009
    Fix max register count in compiler.
  2. Store Fixnum as immediate value. Huge speedup in benchmarks!

    macournoyer committed Mar 31, 2009
    Add intructions for ! and unary -.
Commits on Mar 29, 2009
  1. Add note RE optimization.

    macournoyer committed Mar 29, 2009
Commits on Mar 28, 2009
  1. Store instruction in a 4 bytes unsigned int.

    macournoyer committed Mar 28, 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. Implement LT instruction.

    macournoyer committed Mar 26, 2009
  2. No more inlined funciton as instructions. Gonna try emitting ADD, SUB…

    macournoyer committed Mar 26, 2009
    …, LT, GT, etc from compiler to have less instructions and use some more Lua goodness.
Commits on Mar 25, 2009
  1. Move block stuff in block.c.

    macournoyer committed Mar 25, 2009
    Fix bug in upval caused by recent optimizations.
  2. Speedup interpreter loop.

    macournoyer committed Mar 25, 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. Abandon usage of R[0] in CLASS and METADEF instructions. Use pseudo-i…

    macournoyer committed Mar 21, 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