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. 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
  3. 03 Feb, 2005 3 commits
    • Benoit Perrot's avatar
      2005-02-03 Benoît Perrot <benoit@lrde.epita.fr> · cf2790d6
      Benoit Perrot authored
      	* src/inst/data_section.hh, src/inst/data_section.cc,
      	* src/inst/text_section.hh, src/inst/text_section.cc:
      	Maintain a list of encountered (not sorted) labels. Use it to 
      	print the content of the sections.
      	* src/inst/section.hh: Remove deprecated attributes.
      	* src/inst/text_label.hh (get_iterator): Constify return value.
      
      cf2790d6
    • Benoit Perrot's avatar
      2005-02-03 Benoît Perrot <benoit@lrde.epita.fr> · 72081162
      Benoit Perrot authored
      	* src/inst/section.hh: Store the labels in a set. Use Labels to get 
      	the offset.
      	* src/inst/label.hh (deref_ptr_less): Declare and define a label 
      	pointer comparator.
      
      72081162
    • Benoit Perrot's avatar
      2005-02-03 Benoît Perrot <benoit@lrde.epita.fr> · cbd0b70b
      Benoit Perrot authored
      	Store an iterator in TextLabels.
      
      	* src/inst/text_label.hh: Do it.
      	* src/inst/text_section.hh (define_label): Move its 
      	implementation into...
      	* src/inst/text_section.cc (define_label): This file, to solve 
      	inclusion cycle.
      
      cbd0b70b
  4. 01 Feb, 2005 3 commits
    • Benoit Perrot's avatar
      2005-01-30 Benoît Perrot <benoit@lrde.epita.fr> · de204fcf
      Benoit Perrot authored
      	Prepare iterator in text_label storage.
      	
      	* src/inst/text_section.hh: Maintain an iterator on the very last 
      	instruction slot.
      
      de204fcf
    • 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
    • Benoit Perrot's avatar
      2005-01-29 Benoît Perrot <benoit@lrde.epita.fr> · 58ab9449
      Benoit Perrot authored
      	Make Label compose its associated offset.
      
      	* src/inst/label.hh: Protect default constructor. Compose its
      	associated offset. Add a constructor that waits for it.
      	* src/inst/section.hh (has_label, get_offset): Update accordingly.
      	(register_label): Wait for a Label only and use it to get its offset.
      	* src/inst/data_section.hh: Update accordingly.
      	* src/inst/text_label.hh: New.
      	* src/inst/Makefile.am: Update accordingly.
      	* src/inst/text_section.hh: Create TextLabels instead of Labels.
      	* src/inst/text_section.cc: Include inst.hh to gain access
      	to Inst's interface.
      
      58ab9449
  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 1 commit
    • 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
  8. 14 Jan, 2005 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 9312687f
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Introduce unique_strings.
      	
      	* src/misc/unique_string.hh, src/misc/unique_string.cc:
      	Declare and define the string uniquifier.
      	* src/misc/test-unique_string.cc: Test it.
      	* src/misc/Makefile.am: Update accordingly.
      	* src/Makefile.am: Link with libmisc.a.
      	* src/inst/section.hh, src/inst/label.hh: 
      	Use misc::unique_string instead of std::string.
      	* src/inst/label.cc: Empty it. 
      
      9312687f
  9. 18 Dec, 2004 2 commits
    • Benoit Perrot's avatar
      Index: ChangeLog · dac5b64f
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Kill (some) autotools warnings. Some m4 files from GNUlib still use
      	deprecated autotools constructions.
      
      	* src/vm/Makefile.am, src/misc/Makefile.am,
      	* src/task/Makefile.am, src/shell/Makefile.am,
      	* src/parse/Makefile.am, src/inst/Makefile.am,
      	* src/Makefile.am:
      	Use *_CPPFLAGS instead of obsoleted INCLUDES.
      	* configure.ac:
      	Run autoupdate.
      
      dac5b64f
    • 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
  10. 28 Nov, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 869d8e9c
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Use GNUlib as it shall be. Thanks to Akim Demaille and Paul Eggert
      	for showing me the right way to do it.
      
      	* bootstrap: Get gnulib files from CVS repository or local
      	directory (extracted from GNU tar's bootstrap script, written by
      	Paul Eggert and Sergey Poznyakoff).
      	* lib/Makefile.am.tmpl: New.
      	* Makefile.am: Add `lib' as subdirectory.
      	* configure.ac: Use gnulib's automake snippets.
      	* src/stdint_.h, config/stdint.m4, config/inttypes.m4:
      	Remove, as deprecated by the correct use of gnulib.
      	* src/Makefile.am, src/vm/Makefile.am, src/inst/Makefile.am:
      	Update accordingly.
      
      869d8e9c
  11. 30 Oct, 2004 1 commit
    • 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
  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 1 commit
    • 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
  14. 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
  15. 20 Sep, 2004 1 commit
    • 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 08 May, 2004 1 commit
    • 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
  21. 04 Apr, 2004 2 commits
    • 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
  22. 03 Apr, 2004 2 commits
    • Benoit Perrot's avatar
      Index: ChangeLog · b9021fd0
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
              * src/common.hh,
              * src/mipsy.cc,
              * src/inst/exp.hh,
              * src/inst/register.hh,
              * src/vm/cpu.hh, src/vm/cpu.cc:
              Use STL type naming style on enumerations.
      b9021fd0
    • 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 20 Aug, 2003 1 commit
  30. 29 Jul, 2003 1 commit
  31. 18 Jul, 2003 1 commit