1. 02 Apr, 2005 1 commit
    • Benoit Perrot's avatar
      2005-04-02 Benoît Perrot <benoit@lrde.epita.fr> · 956e2a0e
      Benoit Perrot authored
      	Split `exp' files.
      
      	* src/inst/exp.hh, src/inst/exp.cc:
      	Split into...
      	* src/inst/label_exp.hh, src/inst/label_exp.cc,
      	* src/inst/op_exp.hh, src/inst/op_exp.cc,
      	* src/inst/int_exp.hh, src/inst/exp.hh:
      	These files.
      	* src/inst/Makefile.am:	Distribute them.
      	* src/vm/cpu.cc, dev/inst-builder-gen.py, dev/inst-solver-gen.py:
      	Update accordingly.
      	
      956e2a0e
  2. 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
  3. 06 Mar, 2005 1 commit
    • Benoit Perrot's avatar
      2005-03-06 Benoît Perrot <benoit@lrde.epita.fr> · c50f9289
      Benoit Perrot authored
      	Specify instruction format type to distinguish register, immediate
      	and jump instructions.
      
      	* src/inst/inst.hh: Add a format attribute.
      	* dev/nolimips.xml, dev/nolimips.py, dev/inst-nodes-gen.py: 
      	Fill it.
      	
      c50f9289
  4. 01 Feb, 2005 1 commit
    • Benoit Perrot's avatar
      2005-01-30 Benoît Perrot <benoit@lrde.epita.fr> · e467fceb
      Benoit Perrot authored
      	Store the instructions in a list to prepare future random insertions.
      	
      	* src/inst/text_section.hh: Store the instructions in a list 
      	instead of a vector to ease random insertions.
      	* src/inst/text_section.cc (~TextSection, print): Use TextSection's 
      	typedefs and dedicated begin and end to iterate through the  
      	instruction container.
      	* dev/inst-solver-gen.py: Use operator!= instead of operator< to 
      	stop the iteration.
      	
      e467fceb
  5. 27 Jan, 2005 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 24ea94c9
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Make LabelExp independent from Label.
      
      	* src/inst/exp.hh, src/inst/exp.cc:
      	Make LabelExp aggregate a unique_string instead of a Label.
      	* dev/parse-asm-scan-gen.py: Return a unique_string when 
      	scanning an identifier (instead	of a Label).
      	* dev/parse-asm-parse-gen.py: Update accordingly.
      	* src/inst/section.hh (has_label, get_offset): Wait for a
      	unique_string (instead of a Label).
      	* dev/inst-builder-gen.py, dev/inst-solver-gen.py,
      	* src/vm/virtual_machine.cc, src/shell/shell.cc:
      	Update accordingly.
      
      24ea94c9
  6. 26 Jan, 2005 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 80ffde06
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Let concrete sections choose how to handle labels definitions.
      
      	* src/inst/section.hh (add_label): Rename as `register_label'.
      	* src/inst/data_section.hh, src/inst/text_section.hh:
      	(add_label): Rename as...
      	(define_label): This, and make it wait for a unique_string and 
      	build the label.
      	* dev/parse-asm-scan-gen.py: Return a unique_string on a 
      	label definition.
      	* dev/parse-asm-parse-gen.py: Update accordingly.
      
      Index: src/inst/data_section.hh
      --- src/inst/data_section.hh	(revision 160)
      +++ src/inst/data_section.hh	(working copy)
      @@ -54,9 +54,9 @@
           }
           
         public:
      -    void		add_label(Label *label)
      +    void		define_label(const misc::unique_string &id)
           {
      -      Section::add_label(label, size_);
      +      Section::register_label(new inst::Label(id), size_);
           }
           
         public:
      Index: src/inst/section.hh
      --- src/inst/section.hh	(revision 160)
      +++ src/inst/section.hh	(working copy)
      @@ -49,7 +49,7 @@
           {}
           
         protected:
      -    void		add_label(Label *label, int offset)
      +    void		register_label(Label *label, int offset)
           {
             // FIXME: check that this label has not already been added.
             offsets_[*label] = offset;
      Index: src/inst/text_section.hh
      --- src/inst/text_section.hh	(revision 160)
      +++ src/inst/text_section.hh	(working copy)
      @@ -54,9 +54,9 @@
           }
       
         public:
      -    void		add_label(Label *label)
      +    void		define_label(const misc::unique_string &id)
           {
      -      Section::add_label(label, insts_.size() * 4);
      +      Section::register_label(new inst::Label(id), insts_.size() * 4);
           }
       
         public:
      Index: dev/inst-builder-gen.py
      --- dev/inst-builder-gen.py	(revision 160)
      +++ dev/inst-builder-gen.py	(working copy)
      @@ -78,14 +78,14 @@
           }
           
         public:
      -    void		add_inst_label(Label *label)
      +    void		define_inst_label(const misc::unique_string &id)
           {
      -      program_->text_section ().add_label(label);
      +      program_->text_section ().define_label(id);
           }
       
      -    void		add_data_label(Label *label)
      +    void		define_data_label(const misc::unique_string &id)
           {
      -      program_->data_section ().add_label(label);
      +      program_->data_section ().define_label(id);
           }
       
         public:
      Index: dev/parse-asm-scan-gen.py
      --- dev/parse-asm-scan-gen.py	(revision 160)
      +++ dev/parse-asm-scan-gen.py	(working copy)
      @@ -71,7 +71,7 @@
       dec_int			[0-9]+
       hex_int			0x[0-9A-Fa-f]+
       
      -label			[a-zA-Z_][a-zA-Z_0-9]*
      +id			[a-zA-Z_][a-zA-Z_0-9]*
       %%
       
       %{
      @@ -144,14 +144,14 @@
       }
       
       
      -{label}			{
      +{id}			{
         yylval->label = new inst::Label (yytext);
         return LABEL;
       }
      -{label}\":\"		{
      +{id}\":\"		{
         std::string label = yytext;
         label.resize(yyleng - 1);
      -  yylval->label = new inst::Label (label);
      +  yylval->id = &misc::unique_string::create(label);
         return LABEL_DEF;
       }
       
      Index: dev/parse-asm-parse-gen.py
      --- dev/parse-asm-parse-gen.py	(revision 160)
      +++ dev/parse-asm-parse-gen.py	(working copy)
      @@ -75,6 +75,7 @@
       {
         int			i;
         std::string		*s;
      +  const misc::unique_string	*id;
         inst::Label           *label;
         inst::Register        *reg;
         inst::Exp             *exp;
      @@ -84,7 +85,7 @@
       %}
       
       %token <label> LABEL		\"label\"
      -%token <label> LABEL_DEF	\"label definition\"
      +%token <id> LABEL_DEF		\"label definition\"
       %token <i> INTEGER              \"integer\"
       %token <s> STRING               \"string\"
       %token <reg> REGISTER           \"register\"
      @@ -138,7 +139,7 @@
       data
       // Label
       :  LABEL_DEF
      -{ program_builder.add_data_label($1); }
      +{ program_builder.define_data_label(*$1); }
       
       // Uninitialized space
       | DIR_SPACE INTEGER
      @@ -169,7 +170,7 @@
       instruction
       // Label
       : LABEL_DEF
      -{ program_builder.add_inst_label($1); }
      +{ program_builder.define_inst_label(*$1); }
       
       // Opcodes"""
       
      80ffde06
  7. 24 Jan, 2005 2 commits
    • Benoit Perrot's avatar
      Index: ChangeLog · 661492f8
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Copy the instruction list of text section when storing one.
      
      	* src/inst/text_section.hh, dev/inst-solver-gen.py:
      	Hide the concrete type of instruction list.
      	* src/vm/mmu.hh: Aggregate the instructions instead of 
      	a text section.
      	(inst_store) Copy the instruction pointers into a local vector.
      	(inst_load) Access the local vector instead of text section. 
      
      661492f8
    • Benoit Perrot's avatar
      Index: ChangeLog · c7f88dcb
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Introduce some (weak) reentrancy into lexer.
      
      	* dev/parse-asm-scan-gen.py: Maintain a stack of scanning states.
      	This comes from the LRDE's Tiger Compiler's scanner.
      
      c7f88dcb
  8. 11 Jan, 2005 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 31407288
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      2005-01-08  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Migrate to bison2.0a.
      	
      	* dev/parse-asm-parse-gen.py: Call the parser with a filename and
      	a program builder instead of using global variables. Use bison's
      	builtin system to print token values. Remove global program builder.
      	* dev/parse-asm-scan-gen.py: Remove global string for file name. 
      	Use yy::location instead of yy::Location.
      	* src/parse/asm-scan.hh: Call the scanner with a trace flag.
      	* src/parse/libparse.hh, src/parse/libparse.cc:
      	Declare trace flags as booleans. 
      	* src/vm/cp0.hh: Include common.hh to get exit_set.
      
      31407288
  9. 06 Jan, 2005 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · e0719624
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Strengthen lexical analysis.
      	
      	* dev/parse-asm-scan-gen.py: Complain when a lexicaly correct
      	integer cannot be converted by istringstream, for example when the
      	said integer is too large. For hexadecimal integers, a maximal
      	number of digits might be used, but it seems more generic to
      	handle it through istringstream; never knowns, someday nolimips
      	may have to support 64 or event 128 bits long integers :). Call
      	step() each time an invalid character is detected, to have a more
      	clever error message. Step only one line when an eol sequence is
      	detected.
      	* tests/lexical/invalid-characters.s, integer-too-large.s: New.
      	* tests/lexical/Makefile.am: Update accordingly.
      
      e0719624
  10. 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
  11. 28 Oct, 2004 1 commit
  12. 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
  13. 03 Oct, 2004 2 commits
    • 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
  14. 28 Sep, 2004 1 commit
    • 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
  15. 26 Sep, 2004 1 commit
    • 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
  16. 20 Sep, 2004 2 commits
    • 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
  17. 19 Sep, 2004 1 commit
    • 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
  18. 25 Jun, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 6bac5334
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Make Nolimips compile on OS X.
      
      	* dev/parse-asm-scan.ll: 
      	Suggested by Akim Demaille: Prefer istringstream to strtoll.
      
      6bac5334
  19. 13 Jun, 2004 1 commit
    • Benoit Perrot's avatar
      from Benoît Perrot <benoit@lrde.epita.fr> · 2c8fce4f
      Benoit Perrot authored
      	Update makefile's machinery.
      
      	* src/parse/Makefile.am, dev/inst-makefile-gen.py:
      	Rename .log files to .stamp files.
      	* src/parse/Makefile.am:
      	Suggested by Akim Demaille: do not put asm-parse.cc in 
      	BUILT_SOURCES.
      
      2c8fce4f
  20. 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
  21. 15 May, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 03178a83
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
              * src/misc/counted_ptr.hh,
              * src/misc/Makefile.am:
              Add counted_ptr tool.
              * dev/inst-nodes-gen.py,
              * src/inst/exp.hh,
              * src/inst/program_builder.cc:
              Use counted pointers in expression trees.
      03178a83
  22. 08 May, 2004 2 commits
    • Benoit Perrot's avatar
      Index: ChangeLog · 8303533c
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
              * NEWS,
              * dev/inst-builder-gen.py,
              * 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.cc, src/shell/shell.hh,
              * tests/good/Makefile.am, tests/good/check-good
              * tests/runtime/check-runtime,
              * tests/unlimited/Makefile.am, tests/unlimited/check-unlimited:
              Rename `--fill-delay-slots' to `--nop-after-branch', which is more
              accurate. Reserve `--fill-delay-slots' for optimal delay slots
              filling.
      
      8303533c
    • Benoit Perrot's avatar
      Index: ChangeLog · b06225a4
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
              * src/inst/register.hh:
              Add a copy constructor.
              * dev/inst-nodes-gen.py:
              Copy inst::Registers instead of keeping a pointer on them,
              avoiding hazardous memory manipulations.
              * dev/inst-builder-gen.py, src/inst/program_builder.cc,
              * src/vm/cpu.cc (bubble_):
              Prefer copy to reallocation of inst::Registers.
              * dev/parse-asm-parse-gen.py:
              Once they are copied, delete the inst::Registers created by the
              scanner.
      
      b06225a4
  23. 24 Apr, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 7b3c59df
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
              Restore distcheck with automake1.8
      
              * Makefile.am: Distribute inst-solver-gen.py.
              * dev/doc-inst-set-gen.py,
              * doc/mipsy.texi:
              Suggested by Akim Demaille: do not use commands in @node.
              The file texinfo.tex from automake1.8 does not handle it, leading to
              make dvi failure, leading to make distcheck failure.
              * doc/Makefile.am: Do not distribute deprecated files anymore.
      
      7b3c59df
  24. 04 Apr, 2004 3 commits
    • Benoit Perrot's avatar
      Index: ChangeLog · 3b12f953
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
              * src/vm/cp0.hh:
              Add control coprocessor.
              * src/vm/Makefile.am:
              Distribute it.
              * src/vm/cpu.hh, src/vm/cpu.cc,
              * src/vm/virtual_machine.hh:
              Use control coprocessor.
              * dev/mipsy.py,
              * dev/mipsy.xml:
              Add instructions to move registers to/from control coprocessor.
              * dev/inst-solver-gen.py,
              Check register identifiers for control coprocessor instructions.
      
      3b12f953
    • Benoit Perrot's avatar
      Index: ChangeLog · a89344a0
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
              * dev/inst-solver-gen.py,
              * dev/parse-asm-scan-gen.py,
              * src/inst/register.hh:
              Support generic register identifiers.
              * NEWS:
              Document it.
              * tests/lexical/unlimited-regs.s:
              Move to...
              * tests/solve/unlimited-regs.s:
              This file.
              * tests/lexical/Makefile.am,
              * tests/solve/Makefile.am:
              Update.
      
      a89344a0
    • Benoit Perrot's avatar
      Index: ChangeLog · fd67a92e
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
              * dev/mipsy.py:
              Add a C++ variable identifier writer.
              * dev/inst-solver-gen.py:
              Generate program solver (interface and implementation).
              * dev/inst-makefile-gen.py:
              Use the generator.
              * src/inst/program_solver.hh:
              Remove now generated file.
      
      fd67a92e
  25. 03 Apr, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 792a192b
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
              * dev/inst-nodes-gen.py,
              * src/inst/exp.cc:
              Display the identifier of labels and registers instead of
              their address.
      792a192b
  26. 28 Mar, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · eeaef65a
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
              Homogenize attribute names.
      
              * dev/inst-builder-gen.py, src/inst/program_builder.cc,
              * src/inst/data_section.hh, src/inst/data_section.cc,
              * src/inst/exp.hh, src/inst/exp.cc,
              * src/inst/label.cc, src/inst/label.hh,
              * src/inst/program.hh,
              * src/inst/program_solver.hh,
              * src/inst/register.hh,
              * src/inst/section.hh,
              * src/inst/text_section.hh, src/inst/text_section.cc,
              * src/misc/deref.hh, src/misc/escape.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/segment.hh,
              * src/vm/table.hh,
              * src/vm/virtual_machine.hh:
              Rename...
              (_program, fill_delay_slot_p, _size, bytes, immediate, integer)
              (label, kind, left, right, set, set_node, _text_section, _data_section)
              (_pc, _program, kind, index, labels, offsets, insts, postr, s)
              (print_delim, _long_opt, _short_opt, _module, _description)
              (dependencies, _execute, _modules, _tasks, _enabled_tasks, mmu, GPR)
              (hi, lo, pc, unlimited, halt, istr, ostr, call_stack)
              (check_callee_save_p, trace_p, bubble, pipeline, heap, stack)
              (stack_top, _size, _bytes, _scopes, memory, mmu, cpu)
              as...
              (program_, fill_delay_slot_p_, size_, bytes_, immediate_, integer_)
              (label_, kind_, left_, right_, set_, set_node_, text_section_)
              (data_section_, pc_, program_, kind_, index_, labels_, offsets_)
              (insts_, postr_, s_, print_delim_, long_opt_, short_opt_, module_)
              (description_, dependencies_, execute_, modules_, tasks_)
              (enabled_tasks_, mmu_, GPR_, hi_, lo_, pc_, unlimited_, halt_, istr_)
              (ostr_, call_stack_, check_callee_save_p_, trace_p_, bubble_)
              (pipeline_, heap_, stack_, stack_top_, size_, bytes_, scopes_)
              (memory_, mmu_, cpu_)
      
      eeaef65a
  27. 18 Mar, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 37b77fea
      Benoit Perrot authored
      2004-03-18  Benoît Perrot  <benoit@lrde.epita.fr>
      
              Inline definition of a virtual method is nonsense.
      
              * src/inst/exp.cc,
              * src/inst/data_section.cc,
              * src/inst/text_section.cc:
              New.
              * dev/inst-makefile-gen.py,
              * src/task/task.hh, src/task/task.cc
              * src/inst/exp.hh,
              * src/inst/data_section.hh,
              * src/inst/text_section.hh:
              Move definitions of virtual methods in corresponding implementation
              file.
      
      37b77fea
  28. 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
  29. 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
  30. 23 Feb, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · e859e5ac
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
              Use STL type naming style.
      
              * dev/inst-nodes-gen.py,
              * src/inst/section.hh,
              * src/inst/data_section.hh,
              * src/inst/text_section.hh,
              * src/inst/exp.hh, src/inst/exp-visitor.hh
              * src/inst/label.hh, src/inst/label.cc,
              * src/task/task.hh,
              * src/task/task_register.cc,
              * src/vm/cpu.hh, src/vm/cpu.cc,
              * src/vm/table.hh,
              * src/misc/select_const.hh (label_list_t, kind_t, string_set_t)
              (offset_label_t, label_offset_t, deps_t, register_t, uregister_t) 
              (scope_t, scope_t, t):
              Rename as...
              (label_list_type, kind_type, string_set_type, offset_label_type)
              (label_offset_type, deps_type, register_type, uregister_type)
              (scope_type, scopes_type, type):
              these.
      e859e5ac
  31. 16 Jan, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 10883ed9
      Benoit Perrot authored
      --- ChangeLog Thu, 15 Jan 2004 17:46:59 +0100 noe (mipsy/2_ChangeLog 1.64 604)
      +++ ChangeLog Thu, 15 Jan 2004 20:46:42 +0100 noe (mipsy/2_ChangeLog 1.64 604)
      @@ -1,5 +1,17 @@
       2004-01-15  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/parse-asm-parse-gen.py,
      +	* dev/parse-asm-scan-gen.py,
      +	* src/parse/Makefile.am,
      +	* bootstrap:
      +	Use lazy overwrite to limit file building.
      +
      +2004-01-15  Benoît Perrot  <benoit@lrde.epita.fr>
      +	
       	* dev/mipsy.xml: Describe each instruction.
       	* dev/doc-inst-set-gen.py: New file.
       	* Makefile.am: Distribute it.
      10883ed9
  32. 15 Jan, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 03597188
      Benoit Perrot authored
      --- ChangeLog Tue, 13 Jan 2004 16:32:51 +0100 noe (mipsy/2_ChangeLog 1.63 604)
      +++ ChangeLog Thu, 15 Jan 2004 17:46:19 +0100 noe (mipsy/2_ChangeLog 1.63 604)
      @@ -1,3 +1,14 @@
      +2004-01-15  Benoît Perrot  <benoit@lrde.epita.fr>
      +	
      +	* dev/mipsy.xml: Describe each instruction.
      +	* dev/doc-inst-set-gen.py: New file.
      +	* Makefile.am: Distribute it.
      +	* doc/Makefile.am,
      +	* doc/language.texi,
      +	* doc/mipsy.texi:
      +	Use doc-inst-set-gen.py and updated mipsy.xml to generate
      +	instruction set documentation.
      +	
       2004-01-13  Benoît Perrot  <benoit@lrde.epita.fr>
       
       	* doc/fdl.texi,
      03597188
  33. 12 Jan, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 0c8d77f3
      Benoit Perrot authored
      --- ChangeLog Mon, 12 Jan 2004 17:38:59 +0100 noe (mipsy/2_ChangeLog 1.59 604)
      +++ ChangeLog Mon, 12 Jan 2004 18:35:36 +0100 noe (mipsy/2_ChangeLog 1.59 604)
      @@ -1,5 +1,12 @@
       2004-01-12  Benoît Perrot  <benoit@lrde.epita.fr>
       
      +	* dev/inst-builder-gen.py,
      +	* src/inst/program_builder.cc:
      +	Prepare delay slots support by adding NOPs after native branches
      +	of complex instructions.
      +
      +2004-01-12  Benoît Perrot  <benoit@lrde.epita.fr>
      +
       	* src/vm/cpu.hh,
       	* src/vm/memory.hh,
       	* src/vm/mmu.hh,
      0c8d77f3
  34. 10 Jan, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 7de525af
      Benoit Perrot authored
      --- ChangeLog Sat, 10 Jan 2004 22:32:29 +0100 noe (mipsy/2_ChangeLog 1.56 604)
      +++ ChangeLog Sat, 10 Jan 2004 23:23:14 +0100 noe (mipsy/2_ChangeLog 1.56 604)
      @@ -1,5 +1,13 @@
       2004-01-10  Benoît Perrot  <benoit@lrde.epita.fr>
       
      +	* dev/inst-nodes-gen.py: Generate interface of classes in
      +	.hh files, inline methods in .hxx files, implementation in .cc.
      +	* dev/inst-makefile-gen.py:
      +	Distribute .hh, .hxx, .cc files of each class.
      +	Use a stamp file to avoid useness launching of generators.
      +
      +2004-01-10  Benoît Perrot  <benoit@lrde.epita.fr>
      +
       	* dev/mipsy.xml, dev/parse-asm-parse-gen.py:
       	Use human readable identifiers to locate tokens.
      
      7de525af