ChangeLog 37.1 KB
Newer Older
Benoit Perrot's avatar
Benoit Perrot committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2004-10-25  Benot 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.

Benoit Perrot's avatar
Benoit Perrot committed
17
18
19
20
21
22
23
24
25
2004-10-04  Benot Perrot  <benoit@lrde.epita.fr>

	Use a dedicated script to launch bison to control the directory
	where the generated files are output.

	* config/move-if-change, config/bison++: Provided by Akim Demaille.
	* config/Makefile.am: Distribute them.
	* src/parse/Makefile.am: Use bison++.

Benoit Perrot's avatar
Benoit Perrot committed
26
27
28
29
2004-10-03  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/inst-nodes-mk-gen.py: Split into...
	* src/inst/Makefile.am: This file.
Benoit Perrot's avatar
Benoit Perrot committed
30
	* bootstrap: Ask for nodes.mk generation.
Benoit Perrot's avatar
Benoit Perrot committed
31

Benoit Perrot's avatar
Benoit Perrot committed
32
33
34
35
36
37
38
2004-10-03  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/inst-makefile-gen.py: Move to...
	* dev/inst-nodes-mk-gen.py: This file.
	* Makefile.am, boostrap:
	Propagate.

Benoit Perrot's avatar
Benoit Perrot committed
39
40
41
42
43
2004-09-28  Benot Perrot  <benoit@lrde.epita.fr>

	* src/parse/Makefile.am:
	Use time stamp trick for bison generated files.

Benoit Perrot's avatar
Benoit Perrot committed
44
45
46
47
48
49
50
2004-09-28  Benot 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 :)

Benoit Perrot's avatar
Benoit Perrot committed
51
52
53
54
55
56
57
58
59
60
2004-09-26  Benot 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.
		
Benoit Perrot's avatar
Benoit Perrot committed
61
62
63
64
2004-09-26  Benot Perrot  <benoit@lrde.epita.fr>

	* src/inst/text_section.cc: Fix label search for program display.

Benoit Perrot's avatar
Benoit Perrot committed
65
66
67
68
69
70
71
72
73
74
2004-09-26  Benot 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.

Benoit Perrot's avatar
Benoit Perrot committed
75
76
77
78
2004-09-20  Benot Perrot  <benoit@lrde.epita.fr>

	* NEWS: Update

Benoit Perrot's avatar
Benoit Perrot committed
79
80
81
82
83
84
85
86
87
2004-09-20  Benot Perrot  <benoit@lrde.epita.fr>

	Emulate `lui'

	* dev/nolimips.xml:
	Add `lui' instruction.
	* src/vm/cpu.hh, src/vm/cpu.cc:
	Emulate `lui'.

Benoit Perrot's avatar
Benoit Perrot committed
88
89
90
91
92
93
94
95
96
2004-09-20  Benot 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'.

Benoit Perrot's avatar
Benoit Perrot committed
97
98
99
100
101
102
103
104
105
2004-09-19  Benot 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.

Benoit Perrot's avatar
Benoit Perrot committed
106
107
108
109
110
111
112
113
114
115
116
117
118
119
2004-09-19  Benot Perrot  <benoit@lrde.epita.fr>

	Handle options waiting for an integer.
	
	* src/task/task.hh, src/task/task.cc:
	Add a "needs a value" flag.
	* src/task/task_register.cc:
	Handle values from command line.

	* src/task/int_task.hh, src/task/int_task.cc:
	New files.
	* src/task/Makefile.am, src/task/libtask.hh:
	Distribute new files.
	
Benoit Perrot's avatar
Benoit Perrot committed
120
121
122
123
124
2004-09-18  Benot Perrot  <benoit@lrde.epita.fr>

	Factor boolean tasks.
	
	* src/task/boolean_task.hh, src/task/boolean_task.cc:
Benoit Perrot's avatar
Benoit Perrot committed
125
	New files.
Benoit Perrot's avatar
Benoit Perrot committed
126
127
128
129
130
131
	* src/task/Makefile.am:
	Distribute new files.
	* src/vm/vm-tasks.hh, src/vm/vm-tasks.cc,
	* src/task/libtask.hh:
	Use boolean tasks.

Benoit Perrot's avatar
Benoit Perrot committed
132
133
134
135
136
137
138
139
140
141
142
143
144
145
2004-09-18  Benot 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

Benoit Perrot's avatar
Benoit Perrot committed
146
147
148
149
150
151
152
153
154
2004-07-18  Benot Perrot  <benoit@lrde.epita.fr>

	Add the backtrace command to the shell.
	
	* src/vm/cpu.hh, src/vm/virtual_machine.hh:
	Add an accessor to call stack.
	* src/shell/cmd.hh, src/shell/shell.hh, src/shell/shell.cc:
	Parse and execute backtrace command.

Benoit Perrot's avatar
Benoit Perrot committed
155
156
157
158
159
160
161
162
2004-07-18  Benot Perrot  <benoit@lrde.epita.fr>

	shell::Cmd is a minimalist AST, shell::Shell is one of its
	visitor.

	* src/shell/cmd.hh: Move execution engine to...
	* src/shell/shell.hh, src/shell/shell.cc: This class.

Benoit Perrot's avatar
Benoit Perrot committed
163
164
165
166
2004-07-18  Benot Perrot  <benoit@lrde.epita.fr>

	* src/shell/shell.hh, src/shell.cc: Normalize string stream use.
	
Benoit Perrot's avatar
Benoit Perrot committed
167
168
169
170
171
172
2004-07-18  Benot Perrot  <benoit@lrde.epita.fr>

	* src/shell/shell.cc: Move readline wrapper to...
	* src/misc/readline.hh: This file.
	* src/misc/Makefile.am: Distribute readline.hh

Benoit Perrot's avatar
Benoit Perrot committed
173
174
175
2004-07-15  Benot Perrot  <benoit@lrde.epita.fr>

	* tests/runtime/address-load.s, tests/runtime/address-store.s:
Benoit Perrot's avatar
Benoit Perrot committed
176
	Test invalid access to memory.
Benoit Perrot's avatar
Benoit Perrot committed
177
178
	* tests/runtime/Makefile.am: Distribute them.
	
Benoit Perrot's avatar
Benoit Perrot committed
179
180
181
182
183
184
2004-07-15  Benot Perrot  <benoit@lrde.epita.fr>

	* src/vm/memory.hh, src/vm/mmu.hh, src/vm/virtual_machine.cc:
	Make the MMU responsible of address translation and exception 
	raising.
	* src/vm/cp0.hh (raise_addr_load, raise_addr_store): Add address
Benoit Perrot's avatar
Benoit Perrot committed
185
	load and store exceptions.
Benoit Perrot's avatar
Benoit Perrot committed
186
187
188
	* src/vm/virtual_machine.hh (execute): Stop execution on fatal
	exceptions.

Benoit Perrot's avatar
Benoit Perrot committed
189
190
191
192
193
194
2004-07-14  Benot Perrot  <benoit@lrde.epita.fr>

	* src/vm/mmu.hh: Hide instructions' access behind MMU.
	* src/vm/cpu.hh, src/vm/cpu.cc, src/vm/virtual_machine.hh:
	Use the MMU to access instructions.

Benoit Perrot's avatar
Benoit Perrot committed
195
196
197
198
199
200
201
202
2004-07-14  Benot Perrot  <benoit@lrde.epita.fr>

	* src/vm/memory.hh, src/vm/mmu.hh, src/vm/cpu.cc,
	* src/vm/virtual_machine.cc:
	Implement reset() method.
	* src/vm/virtual_machine.hh, src/vm/virtual_machine.hh:
	Keep and reload the main offset of loaded program.

Benoit Perrot's avatar
Benoit Perrot committed
203
204
2004-07-14  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
205
206
207
208
209
210
211
212
213
	* src/vm/virtual_machine.hh: Move the implementation of 
	rarely used methods to...
	* src/vm/virtual_machine.cc: This file.

2004-07-14  Benot Perrot  <benoit@lrde.epita.fr>

	* src/shell/shell.cc (readline): When the true readline is
	lacking, use STL's getline instead of istream::operator>> to get a
	line instead of a word.
Benoit Perrot's avatar
Benoit Perrot committed
214
215
	Reported by Julien Vanegue.

Benoit Perrot's avatar
Benoit Perrot committed
216
217
218
219
220
2004-07-14  Benot Perrot  <benoit@lrde.epita.fr>

	* INSTALL: Explain --with-readline-{includes,library} usage.
	Suggested by Marco Tessari.

221
222
223
224
2004-07-12  Akim Demaille  <akim@epita.fr>

	* configure.ac: Bump to 0.7a.

Benoit Perrot's avatar
Benoit Perrot committed
225
226
227
228
2004-07-08  Benot Perrot  <benoit@lrde.epita.fr>

	* src/vm/cpu.hh (get_unlimited): Print a lovely error message when
	an unlimited register is used before initialized.
229
	* tests/runtime/Makefile.am, tests/runtime/uninitialized-x.s:
Benoit Perrot's avatar
Benoit Perrot committed
230
231
	Test the case.

Benoit Perrot's avatar
Benoit Perrot committed
232
233
234
235
236
237
2004-06-27  Benot Perrot  <benoit@lrde.epita.fr>

	Update distribution's files.

	* TODO, NEWS, INSTALL: Update.

Benoit Perrot's avatar
Benoit Perrot committed
238
239
240
2004-06-27  Benot Perrot  <benoit@lrde.epita.fr>

	Update test suite machinery.
241

Benoit Perrot's avatar
Benoit Perrot committed
242
243
244
245
246
247
248
	* tests/nolimips-check:
	Rename PSYFLAGS to NOLFLAGS.
	* tests/generate-ref.mk:
	Distribute reference output files.
	* tests/common.mk,
	* tests/lexical/Makefile.am, tests/lexical/check-lexical,
	* tests/runtime/Makefile.am, tests/runtime/check-runtime,
249
	* tests/syntax/Makefile.am, tests/syntax/check-syntax,
Benoit Perrot's avatar
Benoit Perrot committed
250
251
252
253
	* tests/good/Makefile.am, tests/good/check-good,
	* tests/solve/Makefile.am, tests/solve/check-solve,
	* tests/unlimited/Makefile.am, tests/unlimited/check-unlimited,
	Use automake's TESTS_ENVIRONMENT variable to set Nolimips' flags.
254

Benoit Perrot's avatar
Benoit Perrot committed
255
256
257
258
2004-06-25  Benot Perrot  <benoit@lrde.epita.fr>

	Make Nolimips compile on OS X.

259
	* dev/parse-asm-scan.ll:
Benoit Perrot's avatar
Benoit Perrot committed
260
261
	Suggested by Akim Demaille: Prefer istringstream to strtoll.

262
263
264
265
266
267
268
2004-06-13  Benot Perrot  <benoit@lrde.epita.fr>

	Update makefile's machinery.

	* src/parse/Makefile.am, dev/inst-makefile-gen.py:
	Rename .log files to .stamp files.
	* src/parse/Makefile.am:
269
	Suggested by Akim Demaille: do not put asm-parse.cc in
270
271
	BUILT_SOURCES.

Benoit Perrot's avatar
Benoit Perrot committed
272
273
274
2004-06-13  Benot Perrot  <benoit@lrde.epita.fr>

	Generate debian package.
275

Benoit Perrot's avatar
Benoit Perrot committed
276
277
278
279
280
281
282
283
284
285
286
	* distrib/debian/control,
	* distrib/debian/compat,
	* distrib/debian/changelog,
	* distrib/debian/copyright,
	* distrib/debian/docs,
	* distrib/debian/rules,
	* distrib/debian/info:
	Add debian package control files.
	* distrib/debian/Makefile.am, distrib/Makefile.am,
	* Makefile.am, configure.ac:
	Distribute distrib and distrib/debian subdirectories.
287

Benoit Perrot's avatar
Benoit Perrot committed
288
289
290
2004-05-29  Benot Perrot  <benoit@lrde.epita.fr>

	Bump to nolimips-0.7
291

Benoit Perrot's avatar
Benoit Perrot committed
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
	* 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
307
	* src/inst/inst-tasks.cc, src/inst/inst-tasks.hh,
Benoit Perrot's avatar
Benoit Perrot committed
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
	* 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.

Benoit Perrot's avatar
Benoit Perrot committed
343
344
345
346
347
348
349
350
351
352
2004-05-20  Benot Perrot  <benoit@lrde.epita.fr>

	* src/misc/contract.hh,
	* src/misc/counted_ptr.hh,
	* src/misc/deref.hh,
	* src/misc/escape.hh,
	* src/misc/has.hh,
	* src/misc/select_const.hh:
	Add license.

Benoit Perrot's avatar
Benoit Perrot committed
353
354
355
356
357
358
359
360
361
362
2004-05-15  Benot 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.

Benoit Perrot's avatar
Benoit Perrot committed
363
364
365
366
367
368
369
370
371
372
373
374
375
376
2004-05-08  Benot 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.
Benoit Perrot's avatar
Benoit Perrot committed
377
378
	* doc/mipsy.texi:
	Document it.
Benoit Perrot's avatar
Benoit Perrot committed
379

Benoit Perrot's avatar
Benoit Perrot committed
380
381
382
383
2004-05-08  Benot Perrot  <benoit@lrde.epita.fr>

	* tests/good/fact.s, tests/good/Makefile.am:
	Add new test.
384

Benoit Perrot's avatar
Benoit Perrot committed
385
386
387
388
389
2004-05-08  Benot Perrot  <benoit@lrde.epita.fr>

	* src/inst/register.hh:
	Add a copy constructor.
	* dev/inst-nodes-gen.py:
390
	Copy inst::Registers instead of keeping a pointer on them,
Benoit Perrot's avatar
Benoit Perrot committed
391
392
	avoiding hazardous memory manipulations.
	* dev/inst-builder-gen.py, src/inst/program_builder.cc,
393
	* src/vm/cpu.cc (bubble_):
Benoit Perrot's avatar
Benoit Perrot committed
394
395
396
397
398
	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.

Benoit Perrot's avatar
Benoit Perrot committed
399
400
401
402
403
2004-05-01  Benot Perrot  <benoit@lrde.epita.fr>

	* src/shell/shell.cc:
	Use std::cin when readline library cannot be used. Add history to
	readline.
Benoit Perrot's avatar
Benoit Perrot committed
404

Benoit Perrot's avatar
Benoit Perrot committed
405
406
407
408
409
410
2004-05-01  Benot Perrot  <benoit@lrde.epita.fr>

	* configure.ac, config/readline.m4,
	* src/Makefile.am, src/shell/Makefile.am:
	Improve readline detection and related information use.

Benoit Perrot's avatar
Benoit Perrot committed
411
2004-05-01  Benot Perrot  <benoit@lrde.epita.fr>
Benoit Perrot's avatar
Benoit Perrot committed
412

Benoit Perrot's avatar
Benoit Perrot committed
413
	* src/shell/cmd.hh,
Benoit Perrot's avatar
Benoit Perrot committed
414
	* src/shell/shell.hh, src/shell/shell.cc:
415
	Use std::string instead of char* or std::string*, avoiding
Benoit Perrot's avatar
Benoit Perrot committed
416
	hazardous memory manipulations.
Benoit Perrot's avatar
Benoit Perrot committed
417

Benoit Perrot's avatar
Benoit Perrot committed
418
419
420
421
2004-04-25  Benot Perrot  <benoit@lrde.epita.fr>

	* src/shell/cmd.hh,
	* src/shell/shell.cc, src/shell/shell.hh:
Benoit Perrot's avatar
Benoit Perrot committed
422
423
	Use references for composed attributes, and pointers for aggregated
	attributes.
Benoit Perrot's avatar
Benoit Perrot committed
424

Benoit Perrot's avatar
Benoit Perrot committed
425
426
427
2004-04-25  Benot Perrot  <benoit@lrde.epita.fr>

	Use coprocessor to raise exception.
428

Benoit Perrot's avatar
Benoit Perrot committed
429
430
431
432
433
	* src/vm/cp0.hh:
	(raise_overflow) Raise an arithmetic overflow exception.
	* src/vm/cpu.cc:
	Call raise_overflow when an arithmetic overflow occurs.

Benoit Perrot's avatar
Benoit Perrot committed
434
435
436
437
438
439
440
441
442
443
444
2004-04-25  Benot Perrot  <benoit@lrde.epita.fr>

	* src/mipsy-tasks.hh,
	* src/vm/vm-tasks.hh,
	* src/shell/shell-tasks.hh:
	Add short options.
	* src/task/task_register.hh, src/task/task_register.cc:
	Support concatenated short options.
	* NEWS, doc/mipsy.texi:
	Document this.

Benoit Perrot's avatar
Benoit Perrot committed
445
446
447
448
449
450
451
452
453
454
2004-04-24  Benot Perrot  <benoit@lrde.epita.fr>

	Enhance readline detection.

	* config/readline.m4:
	Provide AC_CHECK_READLINE.
	* configure.ac, src/Makefile.am:
	Use AC_CHECK_READLINE to check readline library presence and
	usability.

Benoit Perrot's avatar
Benoit Perrot committed
455
456
457
2004-04-24  Benot Perrot  <benoit@lrde.epita.fr>

	Restore distcheck with automake1.8
458

Benoit Perrot's avatar
Benoit Perrot committed
459
460
461
462
463
	* 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
464
	make dvi failure, leading to make distcheck failure.
Benoit Perrot's avatar
Benoit Perrot committed
465
466
	* doc/Makefile.am: Do not distribute deprecated files anymore.

Benoit Perrot's avatar
Benoit Perrot committed
467
468
469
470
471
2004-04-24  Benot Perrot  <benoit@lrde.epita.fr>

	* AUTHORS: Add Jrmy Demeule as contributor.
	* NEWS: Update.

472
473
474
2004-04-20  Jrmy Demeule  <demeul_j@epita.fr>

	Add an interactive shell.
475

476
477
478
	* src/vm/cpu.hh, src/vm/cpu.cc:
	Add a print operator.
	* src/vm/virtual_machine.hh:
479
	Add breakpoint suport and some shell entry points for step by step
480
	execution.
481

482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
	* src/shell/cmd.hh,
	* src/shell/shell.cc, src/shell/shell.hh:
	Implement interactive shell, using readline.
	* src/shell/shell-tasks.cc, src/shell/shell-tasks.hh:
	Add shell's tasks.
	* src/shell/Makefile.am:
	Distribute shell.
	* src/modules.hh:
	Declare shell.

	* configure.ac:
	Check for readline library. Add shell directory.
	* src/Makefile.am:
	Add shell directory and link with readline.

Benoit Perrot's avatar
Benoit Perrot committed
497
2004-04-05  Benot Perrot  <benoit@lrde.epita.fr>
498

Benoit Perrot's avatar
Benoit Perrot committed
499
500
501
502
503
504
505
506
507
508
509
510
511
	* 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.

Benoit Perrot's avatar
Benoit Perrot committed
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
2004-04-05  Benot 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.

Benoit Perrot's avatar
Benoit Perrot committed
528
529
530
531
532
533
534
535
536
537
538
2004-04-05  Benot 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.

Benoit Perrot's avatar
Benoit Perrot committed
539
540
541
542
543
544
545
546
547
2004-04-03  Benot 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.

Benoit Perrot's avatar
Benoit Perrot committed
548
549
550
551
552
553
554
2004-04-03  Benot 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.

Benoit Perrot's avatar
Benoit Perrot committed
555
556
557
558
559
560
561
562
2004-03-28  Benot Perrot  <benoit@lrde.epita.fr>

	More documentation.

	* doc/copying.texi,
	* doc/internal.texi,
	* doc/invoking.texi,
	* doc/language.texi:
Benoit Perrot's avatar
Benoit Perrot committed
563
	Suggested by Akim Demaille: remove files, move their content to...
Benoit Perrot's avatar
Benoit Perrot committed
564
565
566
567
	* doc/mipsy.texi:
	... this file.
	Augment documentation on invocation.

Benoit Perrot's avatar
Benoit Perrot committed
568
569
570
571
572
573
574
575
576
577
578
2004-03-28  Benot 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,
579
	* src/inst/section.hh,
Benoit Perrot's avatar
Benoit Perrot committed
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
	* 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_)

Benoit Perrot's avatar
Benoit Perrot committed
608
609
610
611
612
2004-03-21  Benot Perrot  <benoit@lrde.epita.fr>

	* INSTALL: New.
	* README, TODO: Update.

Benoit Perrot's avatar
Benoit Perrot committed
613
614
615
616
617
618
619
620
621
622
2004-03-18  Benot 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
623
	* src/inst/exp.hh,
Benoit Perrot's avatar
Benoit Perrot committed
624
625
626
627
	* src/inst/data_section.hh,
	* src/inst/text_section.hh:
	Move definitions of virtual methods in corresponding implementation
	file.
628

Benoit Perrot's avatar
Benoit Perrot committed
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
2004-02-29  Benot 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:
645
	Use pointers instead of references for each allocated attribute,
Benoit Perrot's avatar
Benoit Perrot committed
646
647
	and delete them.

Benoit Perrot's avatar
Benoit Perrot committed
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
2004-02-24  Benot 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.
689

Benoit Perrot's avatar
Benoit Perrot committed
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
2004-02-23  Benot 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)
705
	(offset_label_t, label_offset_t, deps_t, register_t, uregister_t)
Benoit Perrot's avatar
Benoit Perrot committed
706
707
708
709
710
711
712
	(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.

Benoit Perrot's avatar
Benoit Perrot committed
713
714
715
716
717
718
719
720
721
722
723
724
2004-01-15  Benot 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.

Benoit Perrot's avatar
Benoit Perrot committed
725
2004-01-15  Benot Perrot  <benoit@lrde.epita.fr>
726

Benoit Perrot's avatar
Benoit Perrot committed
727
728
729
730
731
732
733
734
	* 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.
735

Benoit Perrot's avatar
Benoit Perrot committed
736
737
738
739
740
741
742
743
744
745
746
747
2004-01-13  Benot Perrot  <benoit@lrde.epita.fr>

	* doc/fdl.texi,
	* doc/mipsy.texi,
	* doc/copying.texi,
	* doc/internal.texi,
	* doc/invoking.texi,
	* doc/language.texi,
	* doc/macros.texi:
	Organize texi files.
	* doc/Makefile.am: Distribute new files.

Benoit Perrot's avatar
Benoit Perrot committed
748
749
2004-01-12  Benot Perrot  <benoit@lrde.epita.fr>

750
	* configure.ac, NEWS:
Benoit Perrot's avatar
Benoit Perrot committed
751
752
753
754
	Release 0.5, bump to 0.6.
	* tests/good/Makefile.am,
	* tests/unlimited/Makefile.am,
	* tests/unlimited/check-unlimited:
755
	Test mipsy forcing NOPs after native branches.
Benoit Perrot's avatar
Benoit Perrot committed
756

Benoit Perrot's avatar
Benoit Perrot committed
757
758
759
760
761
762
763
2004-01-12  Benot Perrot  <benoit@lrde.epita.fr>

	* src/vm/cpu.hh, src/vm/cpu.cc:
	Add delay slot support.
	* tests/good/check-good, tests/runtime/check-runtime:
	Test mipsy forcing NOPs after native branches.

Benoit Perrot's avatar
Benoit Perrot committed
764
765
766
767
768
769
770
2004-01-12  Benot 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.

Benoit Perrot's avatar
Benoit Perrot committed
771
772
773
774
775
776
777
778
2004-01-12  Benot Perrot  <benoit@lrde.epita.fr>

	* src/vm/cpu.hh,
	* src/vm/memory.hh,
	* src/vm/mmu.hh,
	* src/vm/virtual_machine.hh:
	Add some comments.

Benoit Perrot's avatar
Benoit Perrot committed
779
780
781
782
783
784
785
786
2004-01-12  Benot Perrot  <benoit@lrde.epita.fr>

	* src/vm/mmu.hh:
	* src/vm/Makefile.am: Distribute mmu.hh.
	* src/vm/cpu.hh, src/vm/cpu.cc,
	* src/vm/virtual_machine.hh:
	Use a Memory Management Unit to access memory.

Benoit Perrot's avatar
Benoit Perrot committed
787
788
789
790
791
792
793
794
2004-01-10  Benot 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.

Benoit Perrot's avatar
Benoit Perrot committed
795
796
797
798
2004-01-10  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/mipsy.xml, dev/parse-asm-parse-gen.py:
	Use human readable identifiers to locate tokens.
799

Benoit Perrot's avatar
Benoit Perrot committed
800
801
802
803
804
805
806
807
2004-01-10  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/mipsy.xml: Use a better DTD.
	* dev/mipsy.py: Use new DTD.
	* dev/inst-builder-gen.py,
	* dev/inst-nodes-gen.py,
	* dev/parse-asm-parse-gen.py,
	* dev/parse-asm-scan-gen.py:
808
	Use new mipsy.py package.
Benoit Perrot's avatar
Benoit Perrot committed
809

Benoit Perrot's avatar
Benoit Perrot committed
810
811
812
2004-01-08  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/parse-asm-scan.py: Simplify scanner register generation.
813
	* dev/mipsy.py: Remove useless accessors. Use a '__str__' method
Benoit Perrot's avatar
Benoit Perrot committed
814
815
	instead of 'display'.

Benoit Perrot's avatar
Benoit Perrot committed
816
817
818
2004-01-08  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/mipsy-parser-gen.py: Move to...
819
	* dev/parse-asm-parse-gen.py: ... this file.
Benoit Perrot's avatar
Benoit Perrot committed
820
821
822
823
824
825
826
827
828
829
830
831
	* dev/mipsy-scanner-gen.py: Move to...
	* dev/parse-asm-scan-gen.py: ... this file.
	* src/parse/Makefile.am: Use new files' names.

	* dev/mipsy-builder-gen.py: Move to...
	* dev/inst-builder-gen.py: ... this file.
	* dev/mipsy-inst-gen.py: Move to...
	* dev/inst-nodes-gen.py: ... this file.
	* dev/mipsy-mk-inst-gen.py: Move to...
	* dev/inst-makefile-gen.py: ... this file. Use new files' names.
	* bootstrap, Makefile.am: Use new files' names.

Benoit Perrot's avatar
Benoit Perrot committed
832
833
834
835
836
837
838
2004-01-06  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/mipsy.py: Add lazy_overwrite and comments.
	* dev/mipsy-builder-gen.py, dev/mipsy-mk-inst-gen.py,
	* dev/mipsy-parser-gen.py, dev/mipsy-scanner-gen.py:
	Limit function importations.

Benoit Perrot's avatar
Benoit Perrot committed
839
840
841
842
843
2003-10-11  Benot Perrot  <benoit@lrde.epita.fr>

	* src/vm/cpu.hh, src/vm/virtual_machine.hh, src/vm/vm-tasks.cc:
	Make the CPU responsible of its instruction flow.

Benoit Perrot's avatar
Benoit Perrot committed
844
845
2003-10-11  Benot Perrot  <benoit@lrde.epita.fr>

846
	* src/vm/cpu.hh, src/vm/cpu.cc: Uniformize register accessors,
Benoit Perrot's avatar
Benoit Perrot committed
847
848
	removing deprecated ones.

Benoit Perrot's avatar
Benoit Perrot committed
849
850
851
852
2003-09-08  Benot Perrot  <benoit@lrde.epita.fr>

	* src/vm/memory.hh: Increase default stack size to 512 Ko.

Benoit Perrot's avatar
Benoit Perrot committed
853
854
855
856
2003-09-04  Benot Perrot  <benoit@lrde.epita.fr>

	* Makefile.am: Do not distribute license.hh.

857
858
2003-08-21  Benot Perrot  <benoit@lrde.epita.fr>

859
860
	Make the Cpu responsible of the execution of instructions ;
	the VirtualMachine must be seen as a motherboard that could
861
	support more than one Cpu.
862

863
864
865
866
867
868
	* src/vm/virtual_machine.cc: Move to...
	* src/vm/cpu.cc: here.
	* src/vm/Makefile.am: Propagate it.
	* src/vm/virtual_machine.hh: Move execution interface to...
	* src/vm/cpu.hh: here.

869
870
871
872
873
2003-08-20  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/mipsy.xml: Add mul with immediate pseudo-instruction.
	* src/inst/program_builder.cc: Expand it.

Benoit Perrot's avatar
Benoit Perrot committed
874
875
2003-08-19  Benot Perrot  <benoit@lrde.epita.fr>

876
	* dev/mipsy-scanner-gen.py: Accept a quoted character as an integer
Benoit Perrot's avatar
Benoit Perrot committed
877
878
	value.

Benoit Perrot's avatar
Benoit Perrot committed
879
880
2003-08-14  Benot Perrot  <benoit@lrde.epita.fr>

881
	* configure.ac, NEWS:
Benoit Perrot's avatar
Benoit Perrot committed
882
	Release 0.4, bump to 0.5.
883
	* Makefile.am: Distribute bootstrap.
Benoit Perrot's avatar
Benoit Perrot committed
884

885
886
2003-08-13  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
887
888
889
890
891
892
893
894
	* tests/good/check-good,
	* tests/lexical/check-lexical,
	* tests/runtime/check-runtime,
	* tests/solve/check-solve,
	* tests/syntax/check-syntax,
	* tests/unlimited/check-unlimited:
	Distribute sub scripts.

895
896
897
2003-08-13  Benot Perrot  <benoit@lrde.epita.fr>

	* src/vm/virtual_machine.cc (syscall): Look for $a0 as argument of
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
	exit syscall.
	* tests/good/add-sub.s,
	* tests/good/and-or-nor-xor.s,
	* tests/good/exit.s,
	* tests/good/extended-euclide.s,
	* tests/good/gtcd.s,
	* tests/good/modular-exponent.s,
	* tests/good/neg.s,
	* tests/good/not.s,
	* tests/good/print.s,
	* tests/good/print_int.s,
	* tests/good/read_int.s,
	* tests/good/seq-sne.s,
	* tests/good/shift.s,
	* tests/runtime/neg.s,
	* tests/runtime/no-main.s,
	* tests/solve/undefined-labels.s,
	* tests/syntax/asciiz-wrong-param.s,
	* tests/syntax/too-many-operands.s,
	* tests/unlimited/simple-exp.s:
	Use exit(0).
919

Benoit Perrot's avatar
Benoit Perrot committed
920
921
922
923
2003-08-11  Benot Perrot  <benoit@lrde.epita.fr>

	* tests/Makefile.am: Distribute tests machinery.

Benoit Perrot's avatar
Benoit Perrot committed
924
	* tests/common.mk: Distribute variables and rules used by
Benoit Perrot's avatar
Benoit Perrot committed
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
	the test suite.
	* tests/generate-ref.mk: Distribute reference output files generators.
	* tests/mipsy-check: Distribute main test script.

	* tests/lexical/invalid-string-hexa.s,
	* tests/lexical/invalid-string-octal.s,
	* tests/lexical/unlimited-regs.s,
	* tests/lexical/unrecognized-escape.s,
	* tests/lexical/unterminated-string.s,
	* tests/lexical/Makefile.am:
	Distribute tests that fail at scan level.

	* tests/syntax/too-many-operands.s,
	* tests/syntax/asciiz-wrong-param.s,
	* tests/syntax/Makefile.am:
	Distribute tests that fail at parse level.

	* tests/solve/undefined-labels.s,
	* tests/solve/Makefile.am:
	Distribute tests that fail at solve-time.
Benoit Perrot's avatar
Benoit Perrot committed
945

Benoit Perrot's avatar
Benoit Perrot committed
946
947
948
949
	* tests/runtime/abs.s,
	* tests/runtime/neg.s,
	* tests/runtime/no-main.s,
	* tests/runtime/Makefile.am:
Benoit Perrot's avatar
Benoit Perrot committed
950
	Distribute tests that fail at run-time.
Benoit Perrot's avatar
Benoit Perrot committed
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970

	* tests/unlimited/simple-exp.s,
	* tests/unlimited/Makefile.am:
	Distribute tests that use unlimited registers.

	* tests/good/add-sub.s,
	* tests/good/and-or-nor-xor.s,
	* tests/good/exit.s,
	* tests/good/extended-euclide.s,
	* tests/good/gtcd.s,
	* tests/good/modular-exponent.s,
	* tests/good/neg.s,
	* tests/good/not.s,
	* tests/good/print.s,
	* tests/good/print_int.s,
	* tests/good/read_int.s, tests/good/read_int.in,
	* tests/good/seq-sne.s,
	* tests/good/shift.s,
	* tests/good/Makefile.am:
	Distribute tests that execute normally.
Benoit Perrot's avatar
Benoit Perrot committed
971

Benoit Perrot's avatar
Benoit Perrot committed
972
973
974
	* configure.ac, Makefile.am:
	Distribute tests suite.

Benoit Perrot's avatar
Benoit Perrot committed
975
976
977
978
979
2003-07-29  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/mipsy.xml, src/inst/program_builder.cc:
	Normalize move to addu.

980
981
982
983
984
985
986
987
2003-07-29  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/mipsy-builder-gen.py,
	* src/parse/libparse.hh, src/parse/libparse.cc,
	* src/parse/parse-tasks.hh, src/parse/parse-tasks.cc:
	Fill delay slot of native branch instructions with NOP.
	* NEWS: Update.

Benoit Perrot's avatar
Benoit Perrot committed
988
989
990
991
992
2003-07-29  Benot Perrot  <benoit@lrde.epita.fr>

	* configure.ac:
	Bump to 0.4.

Benoit Perrot's avatar
Benoit Perrot committed
993
994
995
996
997
2003-07-29  Benot Perrot  <benoit@lrde.epita.fr>

	* src/task/task_register.cc:
	Fix usage display.

Benoit Perrot's avatar
Benoit Perrot committed
998
999
1000
1001
2003-07-29  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/mipsy.xml, dev/mips.py:
	Specify instruction kind.
Benoit Perrot's avatar
Benoit Perrot committed
1002

1003
1004
1005
1006
1007
1008
1009
2003-07-29  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/mipsy-scanner-gen.py,
	* src/parse/libparse.hh, src/parse/libparse.cc,
	* src/parse/parse-tasks.hh, src/parse/parse-tasks.cc:
	Make unlimited registers optional.

1010
1011
2003-07-29  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
1012
	* src/task/task_register.hh (parse_args): Do not search beyond
1013
1014
	map's end.

Benoit Perrot's avatar
Benoit Perrot committed
1015
1016
1017
1018
2003-07-28  Benot Perrot  <benoit@lrde.epita.fr>

	* NEWS: Describe main version changes.

Benoit Perrot's avatar
Benoit Perrot committed
1019
1020
1021
1022
1023
1024
2003-07-27  Benot Perrot  <benoit@lrde.epita.fr>

	* src/task/task_register.hh, src/task/task_register.cc:
	Disambiguate uncomplete options. Clean usage display.
	* src/mipsy.cc: Launch "--execute" if no option is specified.

1025
1026
1027
1028
2003-07-26  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/mipsy-mk-inst-gen.py: Distribute section.hh.

Benoit Perrot's avatar
Benoit Perrot committed
1029
1030
1031
1032
1033
1034
2003-07-20  Benot Perrot  <benoit@lrde.epita.fr>

	* src/vm/virtual_machine.hh, src/vm/virtual_machine.cc,
	* src/vm/vm-tasks.hh, src/vm/vm-tasks.cc:
	Check preservation of callee save registers on demand.
	* src/parse/parse-tasks.cc: Remove useless includes.
Benoit Perrot's avatar
Benoit Perrot committed
1035

Benoit Perrot's avatar
Benoit Perrot committed
1036
1037
	* TODO: Update.

1038
1039
1040
1041
2003-07-18  Benot Perrot  <benoit@lrde.epita.fr>

	* src/inst/register.hh, src/vm/cpu.hh:
	Move general register indices from Register.hh into Cpu.
Benoit Perrot's avatar
Benoit Perrot committed
1042
	* src/inst/program_builder.cc,
1043
	* dev/mipsy.xml, dev/mipsy-parser-gen.py, dev/mipsy-scanner-gen.py:
Benoit Perrot's avatar
Benoit Perrot committed
1044
	Adjust.
1045

1046
1047
1048
1049
2003-07-18  Benot Perrot  <benoit@lrde.epita.fr>

	* src/vm/cpu.hh: Add a checker for unlimited register existence.

Benoit Perrot's avatar
Benoit Perrot committed
1050
1051
1052
1053
2003-07-17  Benot Perrot  <benoit@lrde.epita.fr>

	* src/vm/memory.hh: stack_size is an argument of Memory constructor.

1054
1055
2003-07-17  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
1056
	* src/vm/virtual_machine.hh: (step) Return a boolean that
1057
1058
	indicates the end of the execution.

1059
1060
1061
1062
2003-07-17  Benot Perrot  <benoit@lrde.epita.fr>

	* src/vm/memory.hh: Add accessors for heap and stack sizes.

1063
1064
2003-07-17  Benot Perrot  <benoit@lrde.epita.fr>

1065
1066
1067
1068
1069
	* src/inst/section.hh: Export types.
	* src/vm/virtual_machine.cc, src/vm/virtual_machine.hh:
	Use variable input and output streams.

2003-07-17  Benot Perrot  <benoit@lrde.epita.fr>
Benoit Perrot's avatar
Benoit Perrot committed
1070

1071
1072
	* src/inst/section.hh: Add a const accessor to Section's labels.

Benoit Perrot's avatar
Benoit Perrot committed
1073
1074
2003-07-12  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
1075
	* src/inst/section.hh,
Benoit Perrot's avatar
Benoit Perrot committed
1076
	* src/inst/data_section.hh, src/inst/text_section.hh:
1077
	Factor Section code.
Benoit Perrot's avatar
Benoit Perrot committed
1078

1079
1080
2003-07-11  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
1081
	* config/depcomp, config/install-sh, config/missing,
1082
1083
	* config/mkinstalldirs:
	Remove auto-generated files.
1084

Benoit Perrot's avatar
Benoit Perrot committed
1085
1086
1087
1088
1089
2003-07-11  Benot Perrot  <benoit@lrde.epita.fr>

	* configure.ac:
	Bump to 0.3.

1090
1091
1092
1093
1094
2003-07-11  Benot Perrot  <benoit@lrde.epita.fr>

	* src/vm/virtual_machine.cc:
	Set exit_status to exit_runtime when an exception occurs.

1095
1096
1097
1098
1099
1100
1101
2003-07-11  Benot Perrot  <benoit@lrde.epita.fr>

	* src/vm/virtual_machine.hh, src/vm/virtual_machine.cc:
	Define and use a step of execution.
	* src/common.hh, src/vm/vm-tasks.cc:
	Adjust.

1102
1103
2003-07-11  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
1104
	* dev/mipsy-scanner-gen.py,
1105
1106
1107
1108
1109
	* src/inst/register.hh, src/vm/cpu.hh:
	Use a register vector for general purpose registers.
	* src/vm/virtual_machine.cc:
	Adjust.

1110
1111
1112
1113
1114
2003-07-10  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/mipsy.xml, src/inst/program_solver.hh, src/vm/virtual_machine.hh:
	Normalize nop to sll zero, zero, 0.

1115
1116
1117
1118
1119
2003-07-07  Benot Perrot  <benoit@lrde.epita.fr>

	* bootstrap, dev/mipsy-mk-inst-gen.py:
	Generate src/inst/Makefile.am at bootstrap.

1120
1121
1122
1123
2003-07-07  Benot Perrot  <benoit@lrde.epita.fr>

	* src/task/task.hh: Remove useless ";" at end of macro definitions.

1124
1125
1126
1127
1128
1129
1130
1131
1132
2003-07-07  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/mipsy.xml,
	* src/inst/program_builder.cc,
	* src/inst/program_solver.hh,
	* src/vm/cpu.hh,
	* src/vm/virtual_machine.hh, src/vm/virtual_machine.cc:
	Use HI and LO register to execute div, divu, rem, remu.

Benoit Perrot's avatar
Benoit Perrot committed
1133
1134
1135
2003-07-06  Benot Perrot  <benoit@lrde.epita.fr>

	* src/vm/virtual_machine.cc:
Benoit Perrot's avatar
Benoit Perrot committed
1136
	read_string stops after an OEF or a newline; if a newline is read,
Benoit Perrot's avatar
Benoit Perrot committed
1137
1138
	it is stored into the buffer.

1139
1140
2003-07-05  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
1141
	* dev/mipsy.xml,
1142
1143
1144
1145
1146
1147
	* src/inst/program_builder.cc, src/inst/program_solver.hh,
	* src/vm/virtual_machine.hh, src/vm/virtual_machine.cc:
	Support more comparison instructions.
	Implement shift (logical and arithmetical) and rotate.
	Add some syntaxes to branch instructions.

1148
1149
1150
1151
1152
1153
2003-06-29  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/mipsy.xml, src/inst/program_builder.cc:
	Use gcc's expansion of complex and pseudo instructions.
	* src/vm/virtual_machine.cc:
	Check overflow in Sub.
Benoit Perrot's avatar
Benoit Perrot committed
1154

1155
1156
1157
1158
1159
1160
1161
2003-06-29  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/mipsy-parser-gen.py:
	Allow expression for destination of branch instructions.
	* dev/mipsy-inst-gen.py:
	Generate an Exp& variable for a label.
	* src/inst/program_builder.cc, src/inst/program_solver.hh,
Benoit Perrot's avatar
Benoit Perrot committed
1162
	* src/vm/virtual_machine.cc,
1163
	Adjust.
Benoit Perrot's avatar
Benoit Perrot committed
1164

Benoit Perrot's avatar
Benoit Perrot committed
1165
2003-06-29  Benot Perrot  <benoit@lrde.epita.fr>
Benoit Perrot's avatar
Benoit Perrot committed
1166

Benoit Perrot's avatar
Benoit Perrot committed
1167
	* doc/mipsy.texi: Add some comments on internal.
Benoit Perrot's avatar
Benoit Perrot committed
1168

Benoit Perrot's avatar
Benoit Perrot committed
1169
1170
2003-06-29  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
1171
	* src/vm/virtual_machine.hh: Display a dedicated error message
Benoit Perrot's avatar
Benoit Perrot committed
1172
1173
	when the main label can not be found.

Benoit Perrot's avatar
Benoit Perrot committed
1174
1175
1176
1177
1178
1179
1180
2003-06-29  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/mipsy.xml, dev/mipsy.py:
	Allow level of instruction override in syntax.
	Rename "neg" as "negu".
	* dev/mipsy-builder-gen.py:
	Adjust.
Benoit Perrot's avatar
Benoit Perrot committed
1181

Benoit Perrot's avatar
Benoit Perrot committed
1182
1183
1184
1185
	* src/inst/program_builder.cc:
	Support more syntaxes on branch instructions, support neg.
	* src/vm/virtual_machine.cc:
	Adjust overflow detection.
Benoit Perrot's avatar
Benoit Perrot committed
1186

Benoit Perrot's avatar
Benoit Perrot committed
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
2003-06-29  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/mipsy-parser-gen.py, dev/mipsy-scanner-gen.py,
	* dev/mipsy-builder-gen.py, dev/mipsy.py, dev/mipsy.xml
	* src/common.hh, src/modules.hh,
	* src/mipsy-tasks.hh, src/mipsy-tasks.cc, src/mipsy.cc,
	* src/inst/data_section.hh,
	* src/inst/exp-visitor.hh,
	* src/inst/exp.hh,
	* src/inst/inst.hh,
	* src/inst/program.hh,
	* src/inst/program_builder.cc,
	* src/inst/program_solver.hh,
	* src/inst/register.hh,
	* src/inst/text_section.hh,
	* src/parse/asm-scan.hh,
	* src/parse/libparse.hh, src/parse/libparse.hh,
	* src/parse/parse-tasks.hh, src/parse/parse-tasks.cc,
	* src/task/task-tasks.hh, src/task/task-tasks.cc,
	* src/task/task.cc, src/task/task.hh,
	* src/task/task_register.hh, src/task/task_register.cc,
	* src/vm/cpu.hh,
	* src/vm/memory.hh,
	* src/vm/segment.hh,
	* src/vm/table.hh,
	* src/vm/virtual_machine.hh, src/vm/virtual_machine.cc,
	* src/vm/vm-tasks.hh, src/vm/vm-tasks.cc:
	Add license.
Benoit Perrot's avatar
Benoit Perrot committed
1215

Benoit Perrot's avatar
Benoit Perrot committed
1216
1217
1218
1219
1220
1221
2003-06-29  Benot Perrot  <benoit@lrde.epita.fr>

	* doc/mipsy.texi, doc/fdl.texi, doc/Makefile.am,
	* configure.ac:
	Begin documentation effort.

Benoit Perrot's avatar
Benoit Perrot committed
1222
1223
1224
1225
1226
2003-06-29  Benot Perrot  <benoit@lrde.epita.fr>

	* Makefile.am, src/Makefile.am, src/misc/Makefile.am,
	* src/parse/Makefile.am, src/task/Makefile.am, src/vm/Makefile.am:
	Support automatic generation.
Benoit Perrot's avatar
Benoit Perrot committed
1227

Benoit Perrot's avatar
Benoit Perrot committed
1228
1229
	* README:
	Document it.
Benoit Perrot's avatar
Benoit Perrot committed
1230

1231
1232
1233
1234
2003-06-29  Benot Perrot  <benoit@lrde.epita.fr>

	* vm/table.hh, cpu.hh:
	Allow unlimited registers.
Benoit Perrot's avatar
Benoit Perrot committed
1235

1236
1237
	* vm/memory.hh: New.
	* vm/segment.hh: New.
Benoit Perrot's avatar
Benoit Perrot committed
1238

1239
1240
1241
1242
1243
1244
1245
1246
	* vm/virtual_machine.{hh, cc}: Implement instructions.

2003-06-29  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/mipsy-builder-gen.py:
	Use MIPS instruction set to generate ProgramBuilder.
	* src/inst/program_builder.cc:
	Implement complex opcodes expansion.
Benoit Perrot's avatar
Benoit Perrot committed
1247

1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
	* dev/mipsy-parser-gen.py:
	Use ProgramBuilder.

2003-06-28  Benot Perrot  <benoit@lrde.epita.fr>

	* src/inst/{data, text}_section.hh: New.
	* src/inst/program.hh: New.

	* src/inst/visitor.hh: New.
	* src/inst/program_solver.hh: New.
Benoit Perrot's avatar
Benoit Perrot committed
1258

1259
1260
1261
1262
1263
1264
1265
2003-06-28  Benot Perrot  <benoit@lrde.epita.fr>

	* src/inst/inst.hh: New.
	* dev/mipsy-inst-gen.py:
	Use MIPS instruction set to generate Inst class declarations.

2003-06-28  Benot Perrot  <benoit@lrde.epita.fr>
Benoit Perrot's avatar
Benoit Perrot committed
1266

1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
	* src/inst/register.hh: New.
	* src/inst/Makefile.am, src/Makefile.am
	Distribute and compile 'inst' module.
	* src/inst/label.{hh, cc}: New.
	* src/inst/Makefile.am, src/Makefile.am:
	Distribute and compile labels.
	* src/parse/asm-{scan.ll, parse.yy}:
	Use labels and registers.

2003-06-27  Benot Perrot  <benoit@lrde.epita.fr>
Benoit Perrot's avatar
Benoit Perrot committed
1277

1278
1279
1280
1281
1282
1283
	* src/misc/:
	Add miscellaneous helpers.
	* src/misc/Makefile.am, src/Makefile.am:
	Distribute and compile 'misc' module.
	* src/parse/asm-{scan.ll, parse.yy}:
	Use misc helpers.
Benoit Perrot's avatar
Benoit Perrot committed
1284

1285
2003-06-27  Benot Perrot  <benoit@lrde.epita.fr>
Benoit Perrot's avatar
Benoit Perrot committed
1286

1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
	* dev/mipsy.xml:
	Add MIPS instruction set xml file.
	* dev/mipsy.py:
	Add MIPS instruction set xml parser.
	* dev/mipsy-{scanner, parser}-gen.py:
	Use MIPS instruction set to generate flex and bison files.
	* src/parse/Makefile.am, src/Makefile.am:
	Distribute and compile 'parse' module.

2003-06-27  Benot Perrot  <benoit@lrde.epita.fr>

	* ./, ./dev/, ./src/, ./src/parse/:
	Create development tree.
	* ./config/, configure.ac, Makefile.am:
	Use autotools.
	* src/mipsy.cc: Add dummy driver.