1. 10 Nov, 2009 1 commit
  2. 06 Mar, 2006 1 commit
  3. 05 Mar, 2006 1 commit
  4. 08 Jan, 2006 2 commits
    • Benoit Perrot's avatar
      2006-01-08 Benoît Perrot <benoit@lrde.epita.fr> · 313aa026
      Benoit Perrot authored
      	Remove dirty access to libparse internal
      
      	* src/inst/program_solver.gen.py, src/inst/program_solver.hxx:
      	Replace dirty access to libparse internal by an internal flag.
      	* src/inst-tasks.cc:
      	Use it.
      	
      313aa026
    • Benoit Perrot's avatar
      2006-01-08 Benoît Perrot <benoit@lrde.epita.fr> · 883f5fac
      Benoit Perrot authored
      	Move inline implementations from .hh files to .hxx
      
      	* src/inst/register.hh,
      	* src/inst/label.hh,
      	* src/inst/text_label.hh,
      	* src/inst/exp.hh,
      	* src/inst/int_exp.hh,
      	* src/inst/label_exp.hh,
      	* src/inst/op_exp.hh,
      	* src/inst/inst.hh,
      	* src/inst/section.hh,
      	* src/inst/data_section.hh,
      	* src/inst/text_section.hh,
      	* src/inst/program.hh,
      	* src/inst/program_builder.hh.gen.py,
      	* src/inst/program_solver.gen.py,
      	* src/vm/cp0.hh,
      	* src/vm/cpu.hh,
      	* src/vm/mmu.hh,
      	* src/vm/memory.hh,
      	* src/vm/segment.hh,
      	* src/vm/system_library.hh,
      	* src/vm/spim_system_library.hh,
      	* src/vm/nolimips_system_library.hh,
      	* src/vm/virtual_machine.hh,
      	* src/shell/cmd.hh,
      	* src/shell/shell.hh,
      	* src/task/task.hh,
      	* src/task/task_register.hh:
      	Split into...
      	* src/inst/register.hxx,
      	* src/inst/label.hxx, src/inst/label.cc,
      	* src/inst/text_label.hxx, src/inst/text_label.cc,	
      	* src/inst/exp.hxx, src/inst/exp.cc,
      	* src/inst/int_exp.hxx, src/inst/int_exp.cc,
      	* src/inst/label_exp.hxx, src/inst/label_exp.cc,
      	* src/inst/op_exp.hxx, src/inst/op_exp.cc,
      	* src/inst/inst.hxx, src/inst/inst.cc,
      	* src/inst/section.hxx, src/inst/section.cc,	
      	* src/inst/data_section.hxx, src/inst/data_section.cc,
      	* src/inst/text_section.hxx, src/inst/text_section.cc,
      	* src/inst/program.hxx,
      	* src/inst/program_builder.hxx,
      	* src/inst/program_solver.hxx,
      	* src/vm/cp0.hxx,
      	* src/vm/cpu.hxx, src/vm/cpu.cc,
      	* src/vm/mmu.hxx,
      	* src/vm/memory.hxx,
      	* src/vm/segment.hxx,
      	* src/vm/system_library.hxx, src/vm/system_library.cc,
      	* src/vm/spim_system_library.hxx, src/vm/spim_system_library.cc,
      	* src/vm/nolimips_system_library.hxx, src/vm/nolimips_system_library.cc,
      	* src/vm/virtual_machine.hxx, src/vm/virtual_machine.cc,
      	* src/shell/cmd.hxx,
      	* src/shell/shell.hxx, src/shell/shell.cc,
      	* src/task/task.hxx, src/task/task.cc,
      	* src/task/task_register.hxx, src/task/task_register.cc:
      	... These files, respectively.
      	* src/inst/Makefile.am,
      	* src/shell/Makefile.am,
      	* src/task/Makefile.am,
      	* src/vm/Makefile.am:
      	Update accordingly.
      
      	* src/inst/exp-visitor.hh:
      	Use fwd.hh
      	* src/task-tasks.cc, src/nolimips-tasks.cc:
      	Include task_register.hh
      	* src/task/boolean_task.hh,
      	* src/task/function_task.hh,
      	* src/task/int_task.hh,
      	* src/task/string_task.hh:
      	Homogeneize coding style.
      
      883f5fac
  5. 07 Jan, 2006 2 commits
    • Benoit Perrot's avatar
      2006-01-07 Benoît Perrot <benoit@lrde.epita.fr> · 315c946f
      Benoit Perrot authored
      	Print a generated-file warning at the beginning of generated
      	files.
      	Suggested by Roland Levillain.
      
      	* dev/nolimips.py (generated_by_hand): Add warning string.
      	* src/parse/asm-parse.yy.gen.py,
      	* src/parse/asm-scan.ll.gen.py,
      	* src/inst/program_solver.gen.py,
      	* src/inst/nodes.gen.py,
      	* src/inst/program_builder.hh.gen.py,
      	Print warning right after license.
      	* src/inst/nodes.mk.gen.py: Remove a useless import.
      
      315c946f
    • Benoit Perrot's avatar
      2006-01-07 Benoît Perrot <benoit@lrde.epita.fr> · f5410445
      Benoit Perrot authored
      	Add forward declarations files
      
      	* src/inst/nodes.gen.py: Generate forward declarations in an
      	fwd.hh file instead of decl.hh
      	* src/inst/nodes.mk.gen.py: Update accordingly.
      	* src/parse/fwd.hh: New.
      	* src/parse/Makefile.am: Distribute.
      	* src/vm/fwd.hh: New.
      	* src/vm/Makefile.am: Distribute.
      
      f5410445
  6. 27 Dec, 2005 2 commits
    • Benoit Perrot's avatar
      2005-12-27 Benoît Perrot <benoit@lrde.epita.fr> · ab222035
      Benoit Perrot authored
      	print is still a python keyword
      
      	* src/misc/table.hh,
      	* src/inst/register.hh,
      	* src/inst/exp.hh, src/inst/exp.cc,
      	* src/inst/op_exp.hh, src/inst/op_exp.cc,
      	* src/inst/label_exp.hh, src/inst/label_exp.cc,
      	* 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/vm/cpu.hh, src/vm/cpu.cc,
      	* src/vm/virtual_machine.hh:
      	(print) Rename as...
      	(write).
      
      ab222035
    • Benoit Perrot's avatar
      2005-12-27 Benoît Perrot <benoit@lrde.epita.fr> · 9e40ce78
      Benoit Perrot authored
      	print is a python keyword
      
      	* src/inst/inst.hh, src/inst/nodes.gen.py:
      	(print) Rename as...
      	(write).
      
      9e40ce78
  7. 23 Dec, 2005 1 commit
    • Benoit Perrot's avatar
      2005-12-23 Benoît Perrot <benoit@lrde.epita.fr> · 6b995dd1
      Benoit Perrot authored
      	Use libtool to pack librairies
      	
      	* configure.ac: Check for libtool's presence.
      	
      	* 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:
      	Generate libtool libraries.
      	
      6b995dd1
  8. 25 Sep, 2005 1 commit
    • Benoit Perrot's avatar
      2005-09-25 Benoît Perrot <benoit@lrde.epita.fr> · 4fbb0766
      Benoit Perrot authored
      	Reduce includes' dependencies.
      	
      	* src/vm/cpu.hh, src/vm/cpu.cc
      	* src/vm/virtual_machine.hh, src/vm/virtual_machine.cc
      	* src/parse/asm-parse.yy.gen.py, src/parse/asm-scan.ll.gen.py,
      	* src/inst/register.hh,
      	* src/inst/op_exp.hh,
      	* src/inst/label_exp.hh,
      	* src/inst/exp.hh,
      	* src/inst/section.hh, src/inst/data_section.hh,
      	* src/inst/program.hh
      	* src/inst/nodes.gen.py
      	* src/inst/inst.hh
      	* src/inst/label.hh:
      	Remove unused includes, forward-declare classes.
      
      4fbb0766
  9. 03 Sep, 2005 1 commit
    • Benoit Perrot's avatar
      2005-09-03 Benoît Perrot <benoit@lrde.epita.fr> · c87d6b9a
      Benoit Perrot authored
      	Detect several definitions of the same label in a section.
      
      	* src/inst/section.hh (register_label):
      	Return false when label is already known in the section, true
      	otherwise. Move implementation to...
      	* src/inst/section.cc, src/inst/Makefile.am:
      	This new file.
      	* src/inst/data_section.hh, src/inst/data_section.cc,
      	* src/inst/text_section.hh, src/inst/text_section.cc (define_label):
      	Propagate status of register_label.
      	* src/inst/program_builder.hh.gen.py:
      	Generate an error when a label is defined more than once.
      	* tests/solve/data-label-already-defined.s,
      	* tests/solve/text-label-already-defined.s,
      	* tests/solve/Makefile.am:
      	Test it.
      
      c87d6b9a
  10. 01 Sep, 2005 1 commit
    • Benoit Perrot's avatar
      2005-09-01 Benoît Perrot <benoit@lrde.epita.fr> · 082b5c71
      Benoit Perrot authored
      	Simplify unique_string construction.
      
      	* src/misc/unique_string.hh, src/misc/unique_string.cc (create):
      	Remove. Move its implementation to unique_string's constructor,
      	hence make unique_string aggregate a pointer-to-string instead of a
      	reference.
      	* src/misc/test-unique_string.cc, src/vm/virtual_machine.cc, 
      	* src/shell/shell.cc, src/parse/asm-parse.yy.gen.py,
      	* src/parse/asm-scan.ll.gen.py, src/inst/label_exp.hh,
      	* src/inst/section.hh, src/inst/label.hh:
      	Adjust.
      
      082b5c71
  11. 31 Jul, 2005 1 commit
    • Benoit Perrot's avatar
      2005-07-31 Benoît Perrot <benoit@nostromo.lrde.epita.fr> · e7ae3852
      Benoit Perrot authored
      	Move generators to source directories.
      
      	* dev/parse-asm-parse-gen.py, dev/parse-asm-scan-gen.py,
      	* dev/inst-solver-gen.py, dev/inst-nodes-gen.py,
      	* dev/inst-builder-gen.py, dev/inst-nodes-mk-gen.py,
      	* dev/doc-inst-set-gen.py:
      	Move to...
      	* src/parse/asm-parse.yy.gen.py, src/parse/asm-scan.ll.gen.py,
      	* src/inst/program_solver.gen.py, src/inst/nodes.gen.py,
      	* src/inst/program_builder.hh.gen.py, src/inst/nodes.mk.gen.py,
      	* doc/inst-set.texi.gen.py:
      	These files (respectively).
      	* src/parse/Makefile.am, src/inst/Makefile.am, doc/Makefile.am,
      	* Makefile.am:
      	Update accordingly.
      	
      e7ae3852
  12. 15 Apr, 2005 1 commit
  13. 02 Apr, 2005 2 commits
    • Benoit Perrot's avatar
      2005-04-02 Benoît Perrot <benoit@lrde.epita.fr> · dddbcfb9
      Benoit Perrot authored
      	Introduce `lockable' facility.
      
      	* src/misc/lockable.hh: New file.
      	* src/misc/Makefile.am: Distribute it.
      	* src/inst/text_label.hh, src/inst/exp.hh, src/inst/label.hh,
      	* src/inst/int_exp.hh, src/inst/int_exp.cc:
      	Use lockable.
      	* dev/inst-solver-gen.py: Update accordingly.
      
      dddbcfb9
    • 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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