- 03 Sep, 2005 1 commit
-
-
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.
-
- 02 Apr, 2005 1 commit
-
-
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.
-
- 14 Jan, 2005 1 commit
-
-
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.
-
- 03 Jun, 2004 1 commit
-
-
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.
-
- 28 Mar, 2004 1 commit
-
-
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_)
-
- 24 Feb, 2004 1 commit
-
-
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.
-
- 23 Feb, 2004 1 commit
-
-
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.
-
- 07 Jul, 2003 1 commit
-
-
Benoit Perrot authored
-
- 02 Apr, 2003 1 commit
-
-
Benoit Perrot authored
-
- 03 Jul, 2003 1 commit
-
-
Benoit Perrot authored
-