1. 02 Nov, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · c012f66b
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* dev/inst-solver-gen.py: Include config.h to get configuration 
      	needed by <stdint.h>.
      
      c012f66b
  2. 31 Oct, 2004 3 commits
    • Benoit Perrot's avatar
      Index: ChangeLog · 6eaa9d9f
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* src/parse/libparse.cc: Use the up-to-date bison parser
      	constructor. make check failed on platforms that have bison1.875e,
      	which generates an error message when the deprecated parser
      	constructor is invoked.
      
      6eaa9d9f
    • Benoit Perrot's avatar
      Index: ChangeLog · e91931c3
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* bootstrap: Update the time stamp of reference output files to
      	avoid them to be illegitimately regenerated when checked out from
      	the repository.
      
      e91931c3
    • Benoit Perrot's avatar
      Index: ChangeLog · f533a9f1
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      2004-10-31  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* configure.ac:
      	Check <sys/int_limits.h> presence.
      	* src/stdint_.h:
      	Use <sys/int_limits.h> when it is present to define limit macros.
      	A problem occured on our SunOS: <stdint_.h> includes <sys/int_limits.h>
      	through several files, leading to a macro definition clash.
      
      f533a9f1
  3. 30 Oct, 2004 3 commits
    • Benoit Perrot's avatar
      Index: ChangeLog · 643c635a
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* configure.ac:
      	Check isblank presence.
      	* src/shell/shell.hh, src/shell/shell.cc:
      	Provide isblank when the platform lack it.
      
      643c635a
    • Benoit Perrot's avatar
      Index: ChangeLog · 87e57a99
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* src/vm/cpu.cc:
      	Effectively use Cpu::register_type, and not system's register_t.
      	cpu.cc did not compile on SunOS, where register_t is not defined.
      
      87e57a99
    • Benoit Perrot's avatar
      Index: ChangeLog · 6dc5373a
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* config/stdint.m4, config/inttypes.m4:
      	GNUlib's <stdint.h>/<inttypes.h> detection tools.
      	* configure.ac:
      	Use gl_HAVE_STDINT_H to check <stdint.h>/<inttypes.h> presence.
      	Define __STDC_LIMIT_MACROS to access to some macros that 
      	the ISO C99 standard specifies to be explicitly requested 
      	in C++ implementation.
      	* src/stdint_.h:
      	GNUlib's "ISO C 99 <stdint.h> for platforms that lack it."
      	* src/Makefile.am:
      	Generate stdint.h from stdint_.h on platforms that lack it.
      
      	* src/vm/cpu.hh, src/vm/memory.hh, src/inst/data_section.hh:
      	Include config.h to get information on <stdint.h>/<inttypes.h>
      	presence.
      
      6dc5373a
  4. 28 Oct, 2004 3 commits
  5. 25 Oct, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 5582e2ab
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Participate to "builddir != srcdir" compilation.
      
      	* dev/inst-builder-gen.py,
      	* dev/inst-nodes-gen.py,
      	* dev/inst-solver-gen.py,
      	* dev/doc-inst-set-gen.py,
      	* dev/parse-asm-scan-gen.py,
      	* dev/parse-asm-parse-gen.py:
      	Ask for a directory where the files have to be generated.
      	* src/parse/Makefile.am,
      	* src/inst/Makefile.am,
      	* doc/Makefile.am:
      	Specify the directory where to generate.
      
      5582e2ab
  6. 04 Oct, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 40ac9a5e
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Use a dedicated script to launch bison to control the directory
      	where the generated files are output.
      
      	* config/move-if-change, config/bison++: Provided by Akim Demaille.
      	* config/Makefile.am: Distribute them.
      	* src/parse/Makefile.am: Use bison++.
      
      40ac9a5e
  7. 03 Oct, 2004 3 commits
    • Benoit Perrot's avatar
      Ask for nodes.mk generation · 89d49396
      Benoit Perrot authored
      89d49396
    • Benoit Perrot's avatar
      Index: ChangeLog · 53eca637
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* dev/inst-nodes-mk-gen.py: Split into...
      	* src/inst/Makefile.am: This file.
      
      53eca637
    • Benoit Perrot's avatar
      Index: ChangeLog · 65ffa45c
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* dev/inst-makefile-gen.py: Move to...
      	* dev/inst-nodes-mk-gen.py: This file.
      	* Makefile.am, boostrap:
      	Propagate.
      
      65ffa45c
  8. 28 Sep, 2004 2 commits
    • Benoit Perrot's avatar
      Index: ChangeLog · 99b6f5fb
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* src/parse/Makefile.am:
      	Use time stamp trick for bison generated files.
      
      99b6f5fb
    • Benoit Perrot's avatar
      Index: ChangeLog · 19933902
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Do not update timestamps of generators when they fail.
      
      	* src/parse/Makefile.am, dev/inst-makefile-gen.py:
      	Suggested by Akim Demaille: Read Automake.texi :)
      
      19933902
  9. 26 Sep, 2004 3 commits
    • Benoit Perrot's avatar
      Index: ChangeLog · 33caa50a
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Add data storage directives.
      	
      	* dev/parse-asm-scan-gen.py, dev/parse-asm-parse-gen.py:
      	Add `.byte', .half', `.ascii' directives.
      	* dev/inst-builder-gen.py: Implement new directives.
      	* src/inst/data_section.hh: Move `.asciiz' implementation to 
      	program_builder.hh.
      		
      33caa50a
    • Benoit Perrot's avatar
      Index: ChangeLog · 58d67a3f
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* src/inst/text_section.cc: Fix label search for program display.
      
      58d67a3f
    • Benoit Perrot's avatar
      Index: ChangeLog · d36fa2b8
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Name sections.
      	
      	* src/inst/section: Add name attribute.
      	* src/inst/text_section.hh, src/inst/data_section.hh:
      	Default it to `.text' for text sections and `.data' for data sections.
      	* src/inst/text_section.cc, src/inst/data_section.cc (print):
      	Display name.
      
      d36fa2b8
  10. 20 Sep, 2004 3 commits
    • Benoit Perrot's avatar
      Index: ChangeLog · c31d032b
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* NEWS: Update
      
      c31d032b
    • Benoit Perrot's avatar
      Index: ChangeLog · 61d026d1
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Emulate `lui'
      
      	* dev/nolimips.xml:
      	Add `lui' instruction.
      	* src/vm/cpu.hh, src/vm/cpu.cc:
      	Emulate `lui'.
      
      61d026d1
    • Benoit Perrot's avatar
      Index: ChangeLog · 7a14e3ed
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Li is not a native instruction
      
      	* dev/nolimips.xml, src/int/program_builder.cc:
      	Make `li' a pseudo instruction for `addiu'.
      	* src/vm/cpu.hh, src/vm/cpu.cc:
      	Remove emulation of `li'.
      
      7a14e3ed
  11. 19 Sep, 2004 3 commits
    • Benoit Perrot's avatar
      Index: ChangeLog · 49fde67a
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Limit access to callee-save and caller-save registers.
      
      	* dev/inst-solver-gen.py:
      	Check use of callee-save and caller-save registers.
      	* src/inst/inst-tasks.hh, src/inst/inst-tasks.cc:
      	Add coresponding tasks.
      
      49fde67a
    • Benoit Perrot's avatar
      Index: ChangeLog · c84cea90
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Handle options waiting for an integer.
      	
      	* src/task/task.hh, src/task/task.cc:
      	Add a "needs a value" flag.
      	* src/task/task_register.cc:
      	Handle values from command line.
      
      	* src/task/int_task.hh, src/task/int_task.cc:
      	New files.
      	* src/task/Makefile.am, src/task/libtask.hh:
      	Distribute new files.
      	
      	New files.
      
      c84cea90
    • 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
  12. 18 Sep, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 33139f44
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* src/task/task.hh, src/task/task.cc:
      	Split in...
      	* src/task/function_task.hh, src/task/function_task.cc,
      	* src/task/libtask.hh:
      	These new files.
      	* src/task/Makefile.am:
      	Distribute new files.
      	* src/task/task-tasks.hh, src/shell/shell-tasks.hh,
      	* src/parse/parse-tasks.hh, src/nolimips-tasks.hh,
      	* src/inst/inst-tasks.hh, src/vm/vm-tasks.hh:
      	Include libtask.hh instead of task/task.hh
      
      33139f44
  13. 18 Jul, 2004 4 commits
    • Benoit Perrot's avatar
      Index: ChangeLog · 20195447
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Add the backtrace command to the shell.
      	
      	* src/vm/cpu.hh, src/vm/virtual_machine.hh:
      	Add an accessor to call stack.
      	* src/shell/cmd.hh, src/shell/shell.hh, src/shell/shell.cc:
      	Parse and execute backtrace command.
      
      20195447
    • Benoit Perrot's avatar
      Index: ChangeLog · 2b94343f
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	shell::Cmd is a minimalist AST, shell::Shell is one of its
      	visitor.
      
      	* src/shell/cmd.hh: Move execution engine to...
      	* src/shell/shell.hh, src/shell/shell.cc: This class.
      
      2b94343f
    • Benoit Perrot's avatar
      Index: ChangeLog · 843bf15e
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* src/shell/shell.hh, src/shell.cc: Normalize string stream use.
      	
      843bf15e
    • Benoit Perrot's avatar
      Index: ChangeLog · 2d2fad33
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* src/shell/shell.cc: Move readline wrapper to...
      	* src/misc/readline.hh: This file.
      	* src/misc/Makefile.am: Distribute readline.hh
      
      2d2fad33
  14. 15 Jul, 2004 2 commits
    • Benoit Perrot's avatar
      Index: ChangeLog · 9bc677cd
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* tests/runtime/address-load.s, tests/runtime/address-store.s:
      	Test illegal access to memory.
      	* tests/runtime/Makefile.am: Distribute them.
      	
      9bc677cd
    • Benoit Perrot's avatar
      Index: ChangeLog · d01d0c82
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* src/vm/memory.hh, src/vm/mmu.hh, src/vm/virtual_machine.cc:
      	Make the MMU responsible of address translation and exception 
      	raising.
      	* src/vm/cp0.hh (raise_addr_load, raise_addr_store): Add address
      	load and store exception.
      	* src/vm/virtual_machine.hh (execute): Stop execution on fatal
      	exceptions.
      
      d01d0c82
  15. 14 Jul, 2004 5 commits
    • Benoit Perrot's avatar
      Index: ChangeLog · efc8533f
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* src/vm/mmu.hh: Hide instructions' access behind MMU.
      	* src/vm/cpu.hh, src/vm/cpu.cc, src/vm/virtual_machine.hh:
      	Use the MMU to access instructions.
      
      efc8533f
    • Benoit Perrot's avatar
      Index: ChangeLog · 4e5012c9
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* src/vm/memory.hh, src/vm/mmu.hh, src/vm/cpu.cc,
      	* src/vm/virtual_machine.cc:
      	Implement reset() method.
      	* src/vm/virtual_machine.hh, src/vm/virtual_machine.hh:
      	Keep and reload the main offset of loaded program.
      
      4e5012c9
    • Benoit Perrot's avatar
      Index: ChangeLog · 7691c8d0
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
              * src/vm/virtual_machine.hh: Move the implementation of
              rarely used methods to...
              * src/vm/virtual_machine.cc: This file.
      
      
      7691c8d0
    • Benoit Perrot's avatar
      Index: ChangeLog · 99fde49b
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* src/shell.cc (readline): When the true readline is lacking, use
      	STL's getline instead of istream::operator>> to get a line instead
      	of a word.
      	Reported by Julien Vanegue.
      
      99fde49b
    • Benoit Perrot's avatar
      Index: ChangeLog · bf456b38
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* INSTALL: Explain --with-readline-{includes,library} usage.
      	Suggested by Marco Tessari.
      
      bf456b38
  16. 12 Jul, 2004 1 commit
  17. 08 Jul, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 81f752b2
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* src/vm/cpu.hh (get_unlimited): Print a lovely error message when
      	an unlimited register is used before initialized.
      	* tests/runtime/Makefile.am, tests/runtime/uninitialized-x.s: 
      	Test the case.
      
      81f752b2