1. 08 Jan, 2006 1 commit
    • Benoit Perrot's avatar
      2006-01-08 Benoît Perrot <benoit@lrde.epita.fr> · 5ce2b34b
      Benoit Perrot authored
      	Control coprocessor has the system library
      
      	* src/vm/cp0.hh, src/vm/cp0.hxx:
      	(set_system_library) New.
      	(raise_syscall) Invoke system library if any.
      	* src/vm/cpu.hh, src/vm/cpu.hxx:
      	(set_system_library) Remove.
      	* src/vm/cpu.cc:
      	(syscall) Raise a syscall exception through cp0.
      	* src/vm/virtual_machine.hh, src/vm/virtual_machine.hxx:
      	(get_cp0) New non-const accessor.
      	(set_system_library) Remove.
      	* src/vm-tasks.cc:
      	Access cp0 to set system library.
      
      5ce2b34b
  2. 16 Oct, 2005 1 commit
    • Benoit Perrot's avatar
      2005-10-16 Benoît Perrot <benoit@lrde.epita.fr> · 11416d95
      Benoit Perrot authored
      	Provide --system-library option.
      
      	* src/task/string_task.hh, src/task/string_task.cc:
      	New.
      	* src/task/libtask.hh, src/task/Makefile.am:
      	Distribute them.
      	* src/vm-tasks.hh, src/vm-tasks.hh:
      	(select_system_library): Implement builtin system library
      	selection.
      	* NEWS: Update.
      
      11416d95
  3. 01 Oct, 2005 1 commit
    • Benoit Perrot's avatar
      2005-10-01 Benoît Perrot <benoit@lrde.epita.fr> · 1fd5e72f
      Benoit Perrot authored
      	Introduce nolimips system library.
      	
      	* src/vm/nolimips_system_library.hh,
      	* src/vm/nolimips_system_library.hxx,
      	* src/vm/nolimips_system_library.cc:
      	Provide a set of some libc functions as syscalls.
      	* src/vm/Makefile.am: Distribute these new files.
      	* src/vm-tasks.cc: Fix missing include.
      	
      1fd5e72f
  4. 24 Sep, 2005 1 commit
    • Benoit Perrot's avatar
      2005-09-24 Benoît Perrot <benoit@lrde.epita.fr> · 902282e4
      Benoit Perrot authored
      	Introduce system libraries.
      
      	* src/vm/cpu.hh, src/vm/cpu.cc:
      	Export mmu and cp0. Move syscalls' implementation to...
      	* src/vm/system_library.hh, src/vm/system_library.cc,
      	* src/vm/spim_system_library.hh, src/vm/spim_system_library.hxx,
      	* src/vm/spim_system_library.cc:
      	These new files.
      	* src/vm/cp0.hh: Export fatal_exception flag.
      	* src/vm/Makefile.am: Update accordingly.
      	* src/vm/virtual_machine.hh, src/vm/virtual_machine.cc:
      	Propagate system library to cpu.
      	* src/vm-tasks.cc: 
      	Give a default system library to virtual machine.
      
      902282e4
  5. 08 Mar, 2005 1 commit
    • Benoit Perrot's avatar
      2005-03-08 Benoît Perrot <benoit@lrde.epita.fr> · d0a692ef
      Benoit Perrot authored
      	Prefer explicit function calls to constructor optional arguments
      	to set non-mandatory attributes (e.g. trace flags).
      
      	* src/vm/cpu.hh, src/vm/cpu.cc, src/vm/virtual_machine.hh,
      	* dev/inst-builder-gen.py (Cpu, VirtualMachine, ProgramBuilder): 
      	Remove uncomprehensible boolean arguments from constructor, add
      	corresponding switches.
      	* src/vm-tasks.cc, src/shell/shell.cc, src/parse/libparse.cc:
      	Update accordingly.
      
      d0a692ef
  6. 06 Mar, 2005 2 commits
    • Benoit Perrot's avatar
      2005-03-06 Benoît Perrot <benoit@lrde.epita.fr> · 2c970ea6
      Benoit Perrot authored
      	Display the number of executed R,I and J-type instructions on
      	profile.
      
      	* src/vm/cpu.hh, src/vm/cpu.cc: Add an array of counters and
      	update them for each executed instruction.
      	* src/vm/virtual_machine.hh: Add accessor to CPU.
      	* src/vm-tasks.cc: Print the counters on profile.
      
      2c970ea6
    • Benoit Perrot's avatar
      2005-03-06 Benoît Perrot <benoit@lrde.epita.fr> · 5bc23e86
      Benoit Perrot authored
      	Provide `--profile' option.
      
      	* src/vm/virtual_machine.hh: Add accessor to control coprocessor.
      	* src/vm-tasks.hh, src/vm-tasks.cc: Declare and define the
      	`profile' task. For the moment, simply print on stderr the number
      	of executed cyles at the end of the program's execution.
      
      5bc23e86
  7. 18 Dec, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · c74be08a
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Move tasks to top level, to make libraries "side-effect free".
      	
      	* src/task/task-tasks.hh, src/task/task-tasks.cc,
      	* src/parse/parse-tasks.hh, src/parse/parse-tasks.cc
      	* src/inst/inst-tasks.hh, src/inst/inst-tasks.cc
      	* src/vm/vm-tasks.hh, src/vm/vm-tasks.cc,
      	* src/shell/shell-tasks.hh, src/shell/shell-tasks.cc:
      	Move to...
      	* src/task-tasks.hh, src/task-tasks.cc,
      	* src/parse-tasks.hh, src/parse-tasks.cc
      	* src/inst-tasks.hh, src/inst-tasks.cc
      	* src/vm-tasks.hh, src/vm-tasks.cc,
      	* src/shell-tasks.hh, src/shell-tasks.cc:
      	These files.
      	* src/task/Makefile.am,
      	* src/parse/Makefile.am,
      	* src/inst/Makefile.am,
      	* src/vm/Makefile.am, 
      	* src/shell/Makefile.am,
      	* src/Makefile.am,
      	* src/modules.hh:
      	Update accordingly.
      
      c74be08a
  8. 19 Sep, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 287fa5dd
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Factor boolean tasks.
      	
      	* src/task/boolean_task.hh, src/task/boolean_task.cc:
      	* src/task/Makefile.am:
      	Distribute new files.
      	* src/vm/vm-tasks.hh, src/vm/vm-tasks.cc,
      	* src/task/libtask.hh:
      	Use boolean tasks.
      
      287fa5dd
  9. 03 Jun, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 8d8a0d8d
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Bump to nolimips-0.7
      
      	* INSTALL, README, TODO,
      	* Makefile.am, bootstrap,
      	* configure.ac,
      	* dev/doc-inst-set-gen.py, dev/inst-builder-gen.py,
      	* dev/inst-makefile-gen.py, dev/inst-nodes-gen.py,
      	* dev/inst-solver-gen.py, dev/nolimips.py,
      	* dev/nolimips.xml, dev/parse-asm-parse-gen.py,
      	* dev/parse-asm-scan-gen.py,
      	* doc/Makefile.am, doc/macros.texi,
      	* src/Makefile.am, src/common.hh, src/modules.hh,
      	* src/inst/section.hh,
      	* src/inst/data_section.hh, src/inst/data_section.cc
      	* src/inst/text_section.hh, src/inst/text_section.cc,
      	* src/inst/program.hh, src/inst/program_builder.cc,
      	* src/inst/exp-visitor.hh, src/inst/exp.hh, src/inst/exp.cc
      	* src/inst/inst-tasks.cc, src/inst/inst-tasks.hh, 
      	* src/inst/inst.hh, src/inst/label.cc, src/inst/label.hh
      	* src/inst/register.hh,
      	* src/parse/Makefile.am, src/parse/asm-scan.hh,
      	* src/parse/libparse.cc, src/parse/libparse.hh,
      	* src/parse/parse-tasks.cc, src/parse/parse-tasks.hh,
      	* src/shell/cmd.hh,
      	* src/shell/shell-tasks.cc, src/shell/shell-tasks.hh,
      	* src/shell/shell.cc, src/shell/shell.hh,
      	* src/task/task-tasks.cc, src/task/task-tasks.hh,
      	* src/task/task.cc, src/task/task.hh,
      	* src/task/task_register.cc, src/task/task_register.hh,
      	* src/vm/cp0.hh, src/vm/cpu.hh, src/vm/cpu.cc
      	* src/vm/memory.hh, src/vm/mmu.hh, src/vm/segment.hh
      	* src/vm/table.hh, src/vm/virtual_machine.hh
      	* src/vm/vm-tasks.cc, src/vm/vm-tasks.hh
      	* tests/Makefile.am, tests/generate-ref.mk, tests/good/check-good
      	* tests/good/fact.s, tests/lexical/check-lexical,
      	* tests/runtime/check-runtime, tests/solve/check-solve
      	* tests/syntax/check-syntax, tests/unlimited/check-unlimited:
      	Rename mipsy as nolimips.
      
      	* dev/mipsy.py, dev/mipsy.xml,
      	* doc/mipsy.texi,
      	* src/mipsy.cc, src/mipsy-tasks.cc, src/mipsy-tasks.hh,
      	* tests/mipsy-check:
      	Move to...
      	* dev/nolimips.py, dev/nolimips.xml,
      	* doc/nolimips.texi,
      	* src/nolimips.cc, src/nolimips-tasks.cc, src/nolimips-tasks.hh,
      	* tests/nolimips-check:
      	These new files.
      
      	* NEWS, configure.ac:
      	Bump to nolimips-0.7.
      
      8d8a0d8d
  10. 29 Feb, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 99749531
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
              Track memory leaks.
      
              * dev/inst-builder-gen.py,
              * dev/inst-nodes-gen.py,
              * dev/mipsy.xml,
              * dev/parse-asm-parse-gen.py,
              * src/inst/data_section.hh,
              * src/inst/exp.hh,
              * src/inst/program_builder.cc,
              * src/inst/section.hh,
              * src/inst/text_section.hh,
              * src/vm/cpu.hh, src/vm/cpu.cc
              * src/vm/segment.hh,
              * src/vm/vm-tasks.cc:
              Use pointers instead of references for each allocated attribute, 
              and delete them.
      
      99749531
  11. 24 Feb, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · a546ec24
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
              * dev/doc-inst-set-gen.py,
              * dev/inst-builder-gen.py,
              * dev/inst-makefile-gen.py,
              * dev/inst-nodes-gen.py,
              * dev/mipsy.py,
              * dev/mipsy.xml,
              * dev/parse-asm-parse-gen.py,
              * dev/parse-asm-scan-gen.py,
              * src/common.hh,
              * src/mipsy-tasks.cc, src/mipsy-tasks.hh,
              * src/mipsy.cc,
              * src/modules.hh,
              * src/inst/data_section.hh,
              * src/inst/exp-visitor.hh,
              * src/inst/exp.hh,
              * src/inst/inst-tasks.cc, src/inst/inst-tasks.hh,
              * src/inst/inst.hh,
              * src/inst/label.cc, src/inst/label.hh,
              * src/inst/program.hh,
              * src/inst/program_builder.cc,
              * src/inst/program_solver.hh,
              * src/inst/register.hh,
              * src/inst/section.hh,
              * src/inst/text_section.hh,
              * src/parse/asm-scan.hh,
              * src/parse/libparse.cc, src/parse/libparse.hh,
              * src/parse/parse-tasks.cc, src/parse/parse-tasks.hh,
              * src/task/task-tasks.cc, src/task/task-tasks.hh,
              * src/task/task.cc, src/task/task.hh,
              * src/task/task_register.cc, src/task/task_register.hh,
              * src/vm/cpu.hh, src/vm/cpu.cc,
              * src/vm/memory.hh,
              * src/vm/mmu.hh,
              * src/vm/segment.hh,
              * src/vm/table.hh,
              * src/vm/virtual_machine.hh,
              * src/vm/vm-tasks.cc, src/vm/vm-tasks.hh:
              Update Copyright.
              Suggested by Akim Demaille.
      
      a546ec24
  12. 11 Oct, 2003 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 219dd9e9
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
              * src/vm/cpu.hh, src/vm/virtual_machine.hh, src/vm/vm-tasks.cc:
              Make the CPU responsible of its instruction flow.
      
      219dd9e9
  13. 20 Jul, 2003 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 7b931e51
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
              * src/vm/virtual_machine.hh, src/vm/virtual_machine.cc,
              * src/vm/vm-tasks.hh, src/vm/vm-tasks.cc:
              Check preservation of callee save registers on demand.
              * src/parse/parse-tasks.cc: Remove useless includes.
      
              * TODO: Update.
      
      7b931e51
  14. 11 Jul, 2003 1 commit
  15. 02 Apr, 2003 1 commit
  16. 03 Jul, 2003 1 commit