ChangeLog 22 KB
Newer Older
Benoit Perrot's avatar
Benoit Perrot committed
1
2
3
4
5
6
7
8
9
10
11
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
12
13
14
15
16
17
18
19
20
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
21
22
23
24
25
26
27
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
28
29
30
31
32
33
34
35
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
36
	Suggested by Akim Demaille: remove files, move their content to...
Benoit Perrot's avatar
Benoit Perrot committed
37
38
39
40
	* doc/mipsy.texi:
	... this file.
	Augment documentation on invocation.

Benoit Perrot's avatar
Benoit Perrot committed
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
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,
	* 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_)

Benoit Perrot's avatar
Benoit Perrot committed
81
82
83
84
85
2004-03-21  Benot Perrot  <benoit@lrde.epita.fr>

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

Benoit Perrot's avatar
Benoit Perrot committed
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
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
	* src/inst/exp.hh, 
	* src/inst/data_section.hh,
	* src/inst/text_section.hh:
	Move definitions of virtual methods in corresponding implementation
	file.
	
Benoit Perrot's avatar
Benoit Perrot committed
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
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:
	Use pointers instead of references for each allocated attribute, 
	and delete them.

Benoit Perrot's avatar
Benoit Perrot committed
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
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.
	
Benoit Perrot's avatar
Benoit Perrot committed
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
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)
	(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.

Benoit Perrot's avatar
Benoit Perrot committed
186
187
188
189
190
191
192
193
194
195
196
197
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
198
199
200
201
202
203
204
205
206
207
208
2004-01-15  Benot Perrot  <benoit@lrde.epita.fr>
	
	* dev/mipsy.xml: Describe each instruction.
	* dev/doc-inst-set-gen.py: New file.
	* Makefile.am: Distribute it.
	* doc/Makefile.am,
	* doc/language.texi,
	* doc/mipsy.texi:
	Use doc-inst-set-gen.py and updated mipsy.xml to generate
	instruction set documentation.
	
Benoit Perrot's avatar
Benoit Perrot committed
209
210
211
212
213
214
215
216
217
218
219
220
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
221
222
223
224
225
226
227
228
229
2004-01-12  Benot Perrot  <benoit@lrde.epita.fr>

	* configure.ac, NEWS: 
	Release 0.5, bump to 0.6.
	* tests/good/Makefile.am,
	* tests/unlimited/Makefile.am,
	* tests/unlimited/check-unlimited:
	Test mipsy forcing NOPs after native branches.	

Benoit Perrot's avatar
Benoit Perrot committed
230
231
232
233
234
235
236
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
237
238
239
240
241
242
243
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
244
245
246
247
248
249
250
251
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
252
253
254
255
256
257
258
259
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
260
261
262
263
264
265
266
267
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
268
269
270
271
272
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.
	
Benoit Perrot's avatar
Benoit Perrot committed
273
274
275
276
277
278
279
280
281
282
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:
	Use new mipsy.py package.	

Benoit Perrot's avatar
Benoit Perrot committed
283
284
285
286
287
288
2004-01-08  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/parse-asm-scan.py: Simplify scanner register generation.
	* dev/mipsy.py: Remove useless accessors. Use a '__str__' method 
	instead of 'display'.

Benoit Perrot's avatar
Benoit Perrot committed
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
2004-01-08  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/mipsy-parser-gen.py: Move to...
	* dev/parse-asm-parse-gen.py: ... this file.	
	* 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
305
306
307
308
309
310
311
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
312
313
314
315
316
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
317
318
319
320
321
2003-10-11  Benot Perrot  <benoit@lrde.epita.fr>

	* src/vm/cpu.hh, src/vm/cpu.cc: Uniformize register accessors, 
	removing deprecated ones.

Benoit Perrot's avatar
Benoit Perrot committed
322
323
324
325
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
326
327
328
329
2003-09-04  Benot Perrot  <benoit@lrde.epita.fr>

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

330
331
332
333
334
335
336
337
338
339
340
341
2003-08-21  Benot Perrot  <benoit@lrde.epita.fr>

	Make the Cpu responsible of the execution of instructions ; 
	the VirtualMachine must be seen as a motherboard that could 
	support more than one Cpu.
	
	* 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.

342
343
344
345
346
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
347
348
349
350
351
2003-08-19  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/mipsy-scanner-gen.py: Accept a quoted character as an integer 
	value.

Benoit Perrot's avatar
Benoit Perrot committed
352
353
354
355
356
357
2003-08-14  Benot Perrot  <benoit@lrde.epita.fr>

	* configure.ac, NEWS: 
	Release 0.4, bump to 0.5.
	* Makefile.am: Distribute bootstrap.	

358
359
2003-08-13  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
360
361
362
363
364
365
366
367
368
369
	* 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.
		
2003-08-13  Benot Perrot  <benoit@lrde.epita.fr>	

370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
	* src/vm/virtual_machine.cc (syscall): Look for $a0 as argument of 
	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).
	
Benoit Perrot's avatar
Benoit Perrot committed
393
394
395
396
2003-08-11  Benot Perrot  <benoit@lrde.epita.fr>

	* tests/Makefile.am: Distribute tests machinery.

Benoit Perrot's avatar
Benoit Perrot committed
397
	* tests/common.mk: Distribute variables and rules used by
Benoit Perrot's avatar
Benoit Perrot committed
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
	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
418

Benoit Perrot's avatar
Benoit Perrot committed
419
420
421
422
	* tests/runtime/abs.s,
	* tests/runtime/neg.s,
	* tests/runtime/no-main.s,
	* tests/runtime/Makefile.am:
Benoit Perrot's avatar
Benoit Perrot committed
423
	Distribute tests that fail at run-time.
Benoit Perrot's avatar
Benoit Perrot committed
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443

	* 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
444

Benoit Perrot's avatar
Benoit Perrot committed
445
446
447
	* configure.ac, Makefile.am:
	Distribute tests suite.

Benoit Perrot's avatar
Benoit Perrot committed
448
449
450
451
452
2003-07-29  Benot Perrot  <benoit@lrde.epita.fr>

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

453
454
455
456
457
458
459
460
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
461
462
463
464
465
2003-07-29  Benot Perrot  <benoit@lrde.epita.fr>

	* configure.ac:
	Bump to 0.4.

Benoit Perrot's avatar
Benoit Perrot committed
466
467
468
469
470
2003-07-29  Benot Perrot  <benoit@lrde.epita.fr>

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

Benoit Perrot's avatar
Benoit Perrot committed
471
472
473
474
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
475

476
477
478
479
480
481
482
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.

483
484
2003-07-29  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
485
	* src/task/task_register.hh (parse_args): Do not search beyond
486
487
	map's end.

Benoit Perrot's avatar
Benoit Perrot committed
488
489
490
491
2003-07-28  Benot Perrot  <benoit@lrde.epita.fr>

	* NEWS: Describe main version changes.

Benoit Perrot's avatar
Benoit Perrot committed
492
493
494
495
496
497
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.

498
499
500
501
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
502
503
504
505
506
507
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
508

Benoit Perrot's avatar
Benoit Perrot committed
509
510
	* TODO: Update.

511
512
513
514
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
515
	* src/inst/program_builder.cc,
516
	* dev/mipsy.xml, dev/mipsy-parser-gen.py, dev/mipsy-scanner-gen.py:
Benoit Perrot's avatar
Benoit Perrot committed
517
	Adjust.
518

519
520
521
522
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
523
524
525
526
2003-07-17  Benot Perrot  <benoit@lrde.epita.fr>

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

527
528
2003-07-17  Benot Perrot  <benoit@lrde.epita.fr>

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

532
533
534
535
2003-07-17  Benot Perrot  <benoit@lrde.epita.fr>

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

536
537
2003-07-17  Benot Perrot  <benoit@lrde.epita.fr>

538
539
540
541
542
	* 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
543

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

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

Benoit Perrot's avatar
Benoit Perrot committed
548
	* src/inst/section.hh,
Benoit Perrot's avatar
Benoit Perrot committed
549
	* src/inst/data_section.hh, src/inst/text_section.hh:
550
	Factor Section code.
Benoit Perrot's avatar
Benoit Perrot committed
551

552
553
2003-07-11  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
554
	* config/depcomp, config/install-sh, config/missing,
555
556
	* config/mkinstalldirs:
	Remove auto-generated files.
557

Benoit Perrot's avatar
Benoit Perrot committed
558
559
560
561
562
2003-07-11  Benot Perrot  <benoit@lrde.epita.fr>

	* configure.ac:
	Bump to 0.3.

563
564
565
566
567
2003-07-11  Benot Perrot  <benoit@lrde.epita.fr>

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

568
569
570
571
572
573
574
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.

575
576
2003-07-11  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
577
	* dev/mipsy-scanner-gen.py,
578
579
580
581
582
	* src/inst/register.hh, src/vm/cpu.hh:
	Use a register vector for general purpose registers.
	* src/vm/virtual_machine.cc:
	Adjust.

583
584
585
586
587
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.

588
589
590
591
592
2003-07-07  Benot Perrot  <benoit@lrde.epita.fr>

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

593
594
595
596
2003-07-07  Benot Perrot  <benoit@lrde.epita.fr>

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

597
598
599
600
601
602
603
604
605
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
606
607
608
2003-07-06  Benot Perrot  <benoit@lrde.epita.fr>

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

612
613
2003-07-05  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
614
	* dev/mipsy.xml,
615
616
617
618
619
620
	* 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.

621
622
623
624
625
626
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
627

628
629
630
631
632
633
634
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
635
	* src/vm/virtual_machine.cc,
636
	Adjust.
Benoit Perrot's avatar
Benoit Perrot committed
637

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

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

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

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

Benoit Perrot's avatar
Benoit Perrot committed
647
648
649
650
651
652
653
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
654

Benoit Perrot's avatar
Benoit Perrot committed
655
656
657
658
	* 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
659

Benoit Perrot's avatar
Benoit Perrot committed
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
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
688

Benoit Perrot's avatar
Benoit Perrot committed
689
690
691
692
693
694
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
695
696
697
698
699
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
700

Benoit Perrot's avatar
Benoit Perrot committed
701
702
	* README:
	Document it.
Benoit Perrot's avatar
Benoit Perrot committed
703

704
705
706
707
2003-06-29  Benot Perrot  <benoit@lrde.epita.fr>

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

709
710
	* vm/memory.hh: New.
	* vm/segment.hh: New.
Benoit Perrot's avatar
Benoit Perrot committed
711

712
713
714
715
716
717
718
719
	* 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
720

721
722
723
724
725
726
727
728
729
730
	* 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
731

732
733
734
735
736
737
738
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
739

740
741
742
743
744
745
746
747
748
749
	* 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
750

751
752
753
754
755
756
	* 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
757

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

760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
	* 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.