ChangeLog 65.5 KB
Newer Older
Roland Levillain's avatar
Roland Levillain committed
1
2
3
4
5
6
2008-12-06  Roland Levillain  <roland@lrde.epita.fr>

	Update bison++.

	* build-aux/bison++.in: Catch up with TC's bison++.in.

7
8
9
10
2008-12-06  Roland Levillain  <roland@lrde.epita.fr>

	* bootstrap: Help autoreconf find a valid libtoolize.

11
12
13
14
15
16
17
18
2006-10-31  Roland Levillain  <roland@lrde.epita.fr>

	Catch up with TC's bison++.

	* build-aux/bison++.in: Don't take a `dir' argument, use the
	dirnames of the input and output files.
	* src/parse/Makefile.am: Adjust bison++ invocation.

19
20
21
22
23
24
25
26
2006-04-17  Benoit Perrot  <benoit@lrde.epita.fr>

	Make extraction of option's value more conventional.

	* src/task/task_register.cc: Split argv[] on `=' for long options'
	values only. Split argv[] in place for short options' value. Use
	the next argv[] when no value is provided.

27
28
29
30
2006-03-06  Roland Levillain  <roland@lrde.epita.fr>

	* vcs/nolimips.rb: Use the right e-mail address.

Roland Levillain's avatar
Roland Levillain committed
31
32
33
34
35
36
37
38
2006-03-05  Roland Levillain  <roland@lrde.epita.fr>

	Update bootstrap.

	* bootstrap: Update.
	Support the new access to the repository of Gnulib.
	* gnulib.modules: New file.

39
40
41
42
43
2006-03-05  Roland Levillain  <roland@lrde.epita.fr>

	* src/inst/fwd.hh: New (forgotten) file.
	* config: Remove empty directory.

Roland Levillain's avatar
Roland Levillain committed
44
45
46
47
48
49
2006-03-05  Roland Levillain  <roland@lrde.epita.fr>

	Add support for Vcs.

	* vcs/nolimips.rb: New.

50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
2006-01-08  Benot Perrot  <benoit@lrde.epita.fr>

	Control coprocessor has the system library

	* src/vm/cp0.hh, src/vm/cp0.hxx:
	(set_system_library) New.
	(raise_syscall) Invoke system library if any.
	* src/vm/cpu.hh, src/vm/cpu.hxx:
	(set_system_library) Remove.
	* src/vm/cpu.cc:
	(syscall) Raise a syscall exception through cp0.
	* src/vm/virtual_machine.hh, src/vm/virtual_machine.hxx:
	(get_cp0) New non-const accessor.
	(set_system_library) Remove.
	* src/vm-tasks.cc:
	Access cp0 to set system library.

67
68
69
70
71
72
73
74
75
76
77
2006-01-08  Benot Perrot  <benoit@lrde.epita.fr>

	Do not call exit_set inside control coprocessor

	* src/vm/cp0.hh, src/vm/cp0.hxx:
	(get_register) New.
	(raise_overflow, raise_addr_load, raise_addr_store): Activate
	fatal_exception_, remove call to exit_set.
	* src/vm/virtual_machine.cc:
	(execute) Use exit_set to report internal exception.

78
79
80
81
82
83
84
85
86
2006-01-08  Benot Perrot  <benoit@lrde.epita.fr>

	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.
	
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
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
2006-01-08  Benot Perrot  <benoit@lrde.epita.fr>

	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.

163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
2006-01-07  Benot Perrot  <benoit@lrde.epita.fr>

	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.

178
179
180
181
182
183
184
185
186
187
188
189
2006-01-07  Benot Perrot  <benoit@lrde.epita.fr>

	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.

190
191
192
193
194
195
196
197
198
199
200
201
202
2006-01-02  Roland Levillain  <roland@lrde.epita.fr>

	Prepare for Bison 2.2.

	* src/parse/asm-parse.yy.gen.py: Require Bison 2.1a.
	Use the LALR(1) C++ skeleton.
	* asm-scan.ll.gen.py: Update the the scanner to use tokens from
	yy::parser::token.
	* src/parse/asm-scan.hh (yylex): Adjust the types of the
	arguments.
	* src/parse/libparse.cc: Include parse/asm-scan.hh.
	* build-aux/bison++.in: Remove Bison 2.0 support.

203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
2005-12-27  Benot Perrot  <benoit@lrde.epita.fr>

	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).

221
222
223
224
225
226
227
228
2005-12-27  Benot Perrot  <benoit@lrde.epita.fr>

	print is a python keyword

	* src/inst/inst.hh, src/inst/nodes.gen.py:
	(print) Rename as...
	(write).

229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
2005-12-23  Benot Perrot  <benoit@lrde.epita.fr>

	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.
	
2005-12-23  Benot Perrot  <benoit@lrde.epita.fr>
245
246
247
248
249
250

	Fix nolimips' system library's read implementation.

	* src/vm/nolimips_system_library.cc:
	(NolimipsSystemLibrary::read): Effectively return -1 on EOF.

251
252
253
254
255
256
257
258
259
260
261
262
263
264
2005-11-05  Benot Perrot  <benoit@lrde.epita.fr>

	Rename config/ as build-aux/ to match with up-to-date coding
	standards.
	
	* config/Makefile.am, config/bison++.in,
	* config/move-if-change, config/readline.m4:
	Move to...
	* build-aux/Makefile.am, build-aux/bison++.in,
	* build-aux/move-if-change, build-aux/readline.m4:
	... here.
	* configure.ac, Makefile.am, src/parse/Makefile.am:
	Adjust accordingly.

265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
2005-10-20  Roland Levillain  <roland@lrde.epita.fr>

	Update bison++.

	* configure.ac: Check for bison instead of yacc.
	(AC_CONFIG_FILES): Generate config/bison++.
	* config/bison++: Rename as...
	* config/bison++.in: ...this.
	Be robust to absolute srcdir paths.
	* config/Makefile.am (dist_noinst_SCRIPTS): Move bison++...
	(nodist_noinst_SCRIPTS): ...here (new variable).
	* src/parse/Makefile.am (BISONXX, BISONXX_IN): New.
	(BISONXX_IN): New rule.
	(EXTRA_DIST): Add $(srcdir)/asm-parse.yy.
	((srcdir)/bison++.stamp): Add $(srcdir)/asm-parse.yy as a
	dependency and ensure bison++ is up-to-date.
	(libparse_a_SOURCES): Remove asm-parse.yy.
	Add asm-parse.cc.

284
285
286
287
288
289
290
291
292
293
294
295
296
2005-10-16  Benot Perrot  <benoit@lrde.epita.fr>

	Provide --system-library option.

	* src/task/string_task.hh, src/task/string_task.cc:
	New.
	* src/task/libtask.hh, src/task/Makefile.am:
	Distribute them.
	* src/vm-tasks.hh, src/vm-tasks.hh:
	(select_system_library): Implement builtin system library
	selection.
	* NEWS: Update.

297
298
299
300
2005-10-03  Benot Perrot  <benoit@nrde.epita.fr>

	* src/vm/nolimips_system_library.cc: Provide a stub for free().
	
301
302
303
304
305
306
307
308
309
310
311
2005-10-01  Benot Perrot  <benoit@lrde.epita.fr>

	Introduce nolimips system library.
	
	* src/vm/nolimips_system_library.hh,
	* src/vm/nolimips_system_library.hxx,
	* src/vm/nolimips_system_library.cc:
	Provide a set of some libc functions as syscalls.
	* src/vm/Makefile.am: Distribute these new files.
	* src/vm-tasks.cc: Fix missing include.
	
312
313
314
315
316
317
318
2005-09-35  Roland Levillain  <roland@lrde.epita.fr>

	Work around Mac OS X ar's inability to produce an empty library.

	* lib/dummy.cc: New file.
	* lib/Makefile.am (libnolimips_a_SOURCES): Add dummy.cc.

319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
2005-09-25  Benot Perrot  <benoit@lrde.epita.fr>

	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.

337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
2005-09-24  Benot Perrot  <benoit@lrde.epita.fr>

	Introduce system libraries.

	* src/vm/cpu.hh, src/vm/cpu.cc:
	Export mmu and cp0. Move syscalls' implementation to...
	* src/vm/system_library.hh, src/vm/system_library.cc,
	* src/vm/spim_system_library.hh, src/vm/spim_system_library.hxx,
	* src/vm/spim_system_library.cc:
	These new files.
	* src/vm/cp0.hh: Export fatal_exception flag.
	* src/vm/Makefile.am: Update accordingly.
	* src/vm/virtual_machine.hh, src/vm/virtual_machine.cc:
	Propagate system library to cpu.
	* src/vm-tasks.cc: 
	Give a default system library to virtual machine.

354
355
356
357
358
359
360
2005-09-17  Benot Perrot  <benoit@lrde.epita.fr>

	--argument-registers

	* src/inst-tasks.hh: Rename `args' option to `--argument-registers'.
	Suggested by Akim Demaille.

361
362
363
364
365
366
367
2005-09-17  Benot Perrot  <benoit@lrde.epita.fr>

	Fix from-scratch build.
	
	* boostrap: Search for nodes.mk.gen.py in src/inst instead of
	dev/ (shame on me).

368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
2005-09-03  Benot Perrot  <benoit@lrde.epita.fr>

	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.

387
388
389
390
391
392
393
394
395
396
397
398
2005-09-03  Benot Perrot  <benoit@lrde.epita.fr>

	* src/misc/unique_string.hh, src/misc/unique_string.cc: 
	Introduce a constructor from a const char*. Factor string
	insertion in pool.
	Suggested by Akim Demaille: Use a set of strings instead of a set
	of pointers as internal pool. Compose an iterator instead of a
	pointer.
	* src/parse/asm-scan.ll.gen.py: 
	Suggested by Akim Demaille: Don't be affraid to side-affect
	yytext.

399
400
401
402
403
404
405
2005-09-01  Benot Perrot  <benoit@lrde.epita.fr>

	Shame on me.

	* src/misc/unique_string.hh: Fix error: static member function cannot 
	have const qualifier.

406
407
408
409
410
411
2005-09-01  Benot Perrot  <benoit@lrde.epita.fr>

	Simplify unique_string construction.

	* src/misc/unique_string.hh, src/misc/unique_string.cc (create):
	Remove. Move its implementation to unique_string's constructor,
412
	hence make unique_string compose a pointer-to-string instead of a
413
414
415
416
417
418
419
	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.

420
421
422
423
424
2005-08-07  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/nolimips.py, dev/nolimips.xml: Introduce predefined
	attributes to reduce data redundancy.

425
426
427
428
429
430
2005-08-07  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/nolimips.py, dev/nolimips.xml: Introduce predefined syntaxes
	to reduce data redundancy.

2005-07-31  Benot Perrot  <benoit@lrde.epita.fr>
431

432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
	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.
	
448
2005-07-31  Benot Perrot  <benoit@lrde.epita.fr>
449
	
450
451
452
	* configure.ac: Bump to 0.8a
	* NEWS: Fix release date.

453
2005-07-11  Benot Perrot  <benoit@lrde.epita.fr>
454
455
456

	* configure.ac: Bump to 0.8.

457
458
459
460
461
462
463
2005-07-03  Benot Perrot  <benoit@lrde.epita.fr>

	Limit access to argument registers.

	* dev/inst-solver-gen.py: Check use of argument registers.
	* src/inst-tasks.hh, src/inst-tasks.cc: Add corresponding task.

464
465
466
467
468
469
470
2005-04-21  Benot Perrot  <benoit@lrde.epita.fr>

	* dec/parse-asm-scan-gen.py: Explicitely dispatch on signed
	integer when reading one from a string, by checking its first
	character (g++-3.4 considers converting "-1" into an "(unsigned&) i"
	as an error, whereas g++-3.3 did not).

471
472
473
474
475
476
477
2005-04-15  Benot Perrot  <benoit@lrde.epita.fr>

	Remove size limitation of data sections.
	
	* src/inst/data_section.hh, src/inst/data_section.cc:
	Prefer std::vector to int* (shame on me).

478
479
480
481
482
483
484
485
486
487
488
2005-04-02  Benot Perrot  <benoit@lrde.epita.fr>

	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.

489
490
491
492
493
494
495
496
497
498
499
500
501
502
2005-04-02  Benot Perrot  <benoit@lrde.epita.fr>

	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.
	
503
504
2005-04-02  Benot Perrot  <benoit@lrde.epita.fr>

505
	Fix distcheck broken since 2005-03-08's patch (shame on me).
506
507
508
509

	* src/vm/Makefile.am: Do not distribute `table.hh' from here, but...
	* src/misc/Makefile.am: From here.

510
511
512
513
514
515
516
517
518
2005-03-17  Benot Perrot  <benoit@lrde.epita.fr>

	Introduce command identifier completion in shell.
	
	* src/shell/shell.hh, src/shell-tasks.cc:
	Make Shell a singleton.
	* src/shell/shell.cc: Use readline's custom completers system 
	to complete command identifiers.
	
519
520
521
522
523
524
2005-03-08  Benot Perrot  <benoit@lrde.epita.fr>

	* src/vm/table.hh: Move to...
	* src/misc/table.hh: This file.
	* src/vm/cpu.hh: Update accordingly.

525
526
527
528
529
530
531
532
533
534
535
536
2005-03-08  Benot Perrot  <benoit@lrde.epita.fr>

	Prefer explicit function calls to constructor optional arguments
	to set non-mandatory attributes (e.g. trace flags).

	* src/vm/cpu.hh, src/vm/cpu.cc, src/vm/virtual_machine.hh,
	* dev/inst-builder-gen.py (Cpu, VirtualMachine, ProgramBuilder): 
	Remove uncomprehensible boolean arguments from constructor, add
	corresponding switches.
	* src/vm-tasks.cc, src/shell/shell.cc, src/parse/libparse.cc:
	Update accordingly.

537
538
539
540
541
542
543
544
2005-03-08  Benot Perrot  <benoit@lrde.epita.fr>

	Remove redundant accessors from virtual machine.
	
	* src/vm/virtual_machine.hh (get_cpu_register, get_cpu_pc):
	Remove.
	* src/shell/shell.hh: Use VirtualMachine::get_cpu() instead.

545
546
547
548
549
550
551
552
553
554
2005-03-06  Benot Perrot  <benoit@lrde.epita.fr>

	Display the number of executed R,I and J-type instructions on
	profile.

	* src/vm/cpu.hh, src/vm/cpu.cc: Add an array of counters and
	update them for each executed instruction.
	* src/vm/virtual_machine.hh: Add accessor to CPU.
	* src/vm-tasks.cc: Print the counters on profile.

555
556
557
558
559
560
561
562
563
2005-03-06  Benot Perrot  <benoit@lrde.epita.fr>

	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.
	
564
565
566
567
568
569
570
571
572
2005-03-06  Benot Perrot  <benoit@lrde.epita.fr>

	Provide `--profile' option.

	* src/vm/virtual_machine.hh: Add accessor to control coprocessor.
	* src/vm-tasks.hh, src/vm-tasks.cc: Declare and define the
	`profile' task. For the moment, simply print on stderr the number
	of executed cyles at the end of the program's execution.

573
574
575
576
577
578
579
2005-02-15  Benot Perrot  <benoit@lrde.epita.fr>

	Implement print_err.
	
	* src/vm/cpu.c: Print buffer pointed to by $a0 on standard 
	error stream on syscall when $v0 = 15.

580
581
582
583
584
585
586
587
588
2005-02-03  Benot Perrot  <benoit@lrde.epita.fr>

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

589
590
591
592
593
594
595
2005-02-03  Benot Perrot  <benoit@lrde.epita.fr>

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

596
597
598
599
600
601
602
603
604
605
2005-02-03  Benot Perrot  <benoit@lrde.epita.fr>

	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.

606
607
2005-01-30  Benot Perrot  <benoit@lrde.epita.fr>

608
	Prepare iterator in TextLabel storage.
609
610
611
612
	
	* src/inst/text_section.hh: Maintain an iterator on the very last 
	instruction slot.

613
614
615
616
617
618
619
620
621
622
623
624
2005-01-30  Benot Perrot  <benoit@lrde.epita.fr>

	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.
	
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
2005-01-29  Benot Perrot  <benoit@lrde.epita.fr>

	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.

Benoit Perrot's avatar
Benoit Perrot committed
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
2005-01-27  Benot 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.

Benoit Perrot's avatar
Benoit Perrot committed
655
656
657
658
659
660
661
662
663
664
665
666
667
2005-01-26  Benot 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.

Benoit Perrot's avatar
Benoit Perrot committed
668
669
670
671
672
673
674
675
676
677
678
2005-01-23  Benot 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. 

Benoit Perrot's avatar
Benoit Perrot committed
679
680
681
682
683
684
685
686
687
688
689
2005-01-23  Benot Perrot  <benoit@lrde.epita.fr>

	Hide the text section loaded in virtual machine's memory.

	* src/vm/mmu.hh (inst_has_label, inst_get_offset): Remove.
	* src/vm/virtual_machine.hh (has_label, get_offset): Remove.
	(add_breakpoint) Wait for an offset instead of a label.
	* src/vm/virtual_machine.cc: Update accordingly, move label
	translation into...
	* src/shell/shell.cc (do_break): ...this method.

Benoit Perrot's avatar
Benoit Perrot committed
690
691
692
693
694
695
696
2005-01-23  Benot Perrot  <benoit@lrde.epita.fr>

	Introduce some (weak) reentrancy into lexer.

	* dev/parse-asm-scan-gen.py: Maintain a stack of scanning states.
	This comes from the LRDE's Tiger Compiler's scanner.

Benoit Perrot's avatar
Benoit Perrot committed
697
698
699
700
701
702
703
704
705
706
2005-01-22  Benot Perrot  <benoit@lrde.epita.fr>

	Fix shell's `load' command.
	
	* src/shell.hh: Implement destructor in corresponding .cc.
	Aggregate the program being run.
	* src/shell.cc (do_load): Recover on parse or solve error.
	(do_load, do_run, do_continue, do-next, do_break) Use aggregated
	program pointer instead of global one.

Benoit Perrot's avatar
Benoit Perrot committed
707
708
709
710
711
712
713
2005-01-17  Benot Perrot  <benoit@lrde.epita.fr>

	* src/shell.hh (is_register, is_label, get_next_word): 
	Rename and move into...
	* src/shell.cc (eat_register, eat_label, eat_word):
	This.

Benoit Perrot's avatar
Benoit Perrot committed
714
715
716
717
718
719
720
721
722
723
2005-01-15  Benot Perrot  <benoit@lrde.epita.fr>

	Introduce utilities for lexical analysis.
	
	* src/misc/lexutils.hh, src/misc/lexutils.cc:
	Pack utilities for lexical analysis in these files.
	* src/misc/Makefile.am: Update accordingly.
	* src/shell/shell.hh, src/shell/shell.cc:
	Use lexutils.

Benoit Perrot's avatar
Benoit Perrot committed
724
725
726
727
728
729
730
731
732
733
734
735
2005-01-15  Benot Perrot  <benoit@lrde.epita.fr>

	Improve command identifiers recognition.

	* src/shell/cmd.hh: Rename
	(cmd_type_type, cmd_type_, get_type) as
	(identifier_type, id_, get_identifier) for readability.
	* src/shell/shell.hh (eat_word): Rename as 
	(eat_command_id) and move its implementation into...
	* src/shell/shell.cc: This file. Recognize uncomplete command
	identifiers and warn on ambiguity. Factor `build_cmd'.

Benoit Perrot's avatar
Benoit Perrot committed
736
737
738
739
740
741
742
743
744
745
746
747
748
2005-01-14  Benot 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. 

Benoit Perrot's avatar
Benoit Perrot committed
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
2005-01-08  Benot Perrot  <benoit@lrde.epita.fr>

	Migrate to bison2.0a.
	
	* dev/parse-asm-parse-gen.py: Call the parser with a filename and
	a program builder instead of using global variables. Use bison's
	builtin system to print token values. Remove global program builder.
	* dev/parse-asm-scan-gen.py: Remove global string for file name. 
	Use yy::location instead of yy::Location.
	* src/parse/asm-scan.hh: Call the scanner with a trace flag.
	* src/parse/libparse.hh, src/parse/libparse.cc:
	Declare trace flags as booleans. 
	* src/vm/cp0.hh: Include common.hh to get exit_set.

2005-01-04  Benot Perrot  <benoit@lrde.epita.fr>
Benoit Perrot's avatar
Benoit Perrot committed
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778

	Strengthen lexical analysis.
	
	* dev/parse-asm-scan-gen.py: Complain when a lexicaly correct
	integer cannot be converted by istringstream, for example when the
	said integer is too large. For hexadecimal integers, a maximal
	number of digits might be used, but it seems more generic to
	handle it through istringstream; never knowns, someday nolimips
	may have to support 64 or event 128 bits long integers :). Call
	step() each time an invalid character is detected, to have a more
	clever error message. Step only one line when an eol sequence is
	detected.
	* tests/lexical/invalid-characters.s, integer-too-large.s: New.
	* tests/lexical/Makefile.am: Update accordingly.

Benoit Perrot's avatar
Benoit Perrot committed
779
780
781
782
783
784
785
786
787
788
789
790
791
2004-12-18  Benot 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.

Benoit Perrot's avatar
Benoit Perrot committed
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
2004-12-18  Benot 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.

Benoit Perrot's avatar
Benoit Perrot committed
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
2004-11-28  Benot 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.

Benoit Perrot's avatar
Benoit Perrot committed
833
834
835
836
837
2004-11-02  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/inst-solver-gen.py: Include config.h to get configuration 
	needed by <stdint.h>.

Benoit Perrot's avatar
Benoit Perrot committed
838
839
840
841
842
843
844
2004-10-31  Benot Perrot  <benoit@lrde.epita.fr>

	* src/parse/libparse.cc: Use the up-to-date bison parser
	constructor. make check failed on platforms that have bison1.875e,
	which generates an error message when the deprecated parser
	constructor is invoked.

Benoit Perrot's avatar
Benoit Perrot committed
845
846
847
848
849
850
851
852
853
854
2004-10-31  Benot Perrot  <benoit@lrde.epita.fr>

	* configure.ac:
	Check <sys/int_limits.h> presence.
	* src/stdint_.h:
	Use <sys/int_limits.h> when it is present to define limit macros.
	A problem occured on our SunOS: <stdint_.h> includes <sys/int_limits.h>
	through several files, leading to a macro definition clash.

2004-10-30  Benot Perrot  <benoit@lrde.epita.fr>
Benoit Perrot's avatar
Benoit Perrot committed
855
856
857
858
859
860

	* configure.ac:
	Check isblank presence.
	* src/shell/shell.hh, src/shell/shell.cc:
	Provide isblank when the platform lack it.

Benoit Perrot's avatar
Benoit Perrot committed
861
2004-10-30  Benot Perrot  <benoit@lrde.epita.fr>
Benoit Perrot's avatar
Benoit Perrot committed
862
863
864
865
866

	* src/vm/cpu.cc:
	Effectively use Cpu::register_type, and not system's register_t.
	cpu.cc did not compile on SunOS, where register_t is not defined.

Benoit Perrot's avatar
Benoit Perrot committed
867
2004-10-30  Benot Perrot  <benoit@lrde.epita.fr>
Benoit Perrot's avatar
Benoit Perrot committed
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884

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

885
886
887
888
889
2004-10-28  Clement Vasseur  <clement.vasseur@lrde.epita.fr>

	* dev/parse-asm-scan-gen.py: Add missing <cerrno> header for `errno'.
	The problem appeared on NetBSD.

890
891
892
893
894
895
896
897
2004-10-28  Clement Vasseur  <clement.vasseur@lrde.epita.fr>

	Fix problem with case-insensitive filesystems.

	* distrib/debian/changelog: Rename as...
	* distrib/debian/changelog-deb: ...this.
	* distrib/debian/Makefile.am: Adjust.

898
899
900
901
902
2004-10-28  Clement Vasseur  <clement.vasseur@lrde.epita.fr>

	* bootstrap.sh: Stop at first error (sh -e).
	Don't use "cd -" because it does not work with BSD's /bin/sh.

Benoit Perrot's avatar
Benoit Perrot committed
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
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
919
920
921
922
923
924
925
926
927
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
928
929
930
931
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
932
	* bootstrap: Ask for nodes.mk generation.
Benoit Perrot's avatar
Benoit Perrot committed
933

Benoit Perrot's avatar
Benoit Perrot committed
934
935
936
937
938
939
940
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
941
942
943
944
945
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
946
947
948
949
950
951
952
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
953
954
955
956
957
958
959
960
961
962
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
963
964
965
966
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
967
968
969
970
971
972
973
974
975
976
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
977
978
979
980
2004-09-20  Benot Perrot  <benoit@lrde.epita.fr>

	* NEWS: Update

Benoit Perrot's avatar
Benoit Perrot committed
981
982
983
984
985
986
987
988
989
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
990
991
992
993
994
995
996
997
998
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
999
1000
1001
1002
1003
1004
1005
1006
1007
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
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
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
1022
1023
1024
1025
1026
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
1027
	New files.
Benoit Perrot's avatar
Benoit Perrot committed
1028
1029
1030
1031
1032
1033
	* 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
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
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
1048
1049
1050
1051
1052
1053
1054
1055
1056
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
1057
1058
1059
1060
1061
1062
1063
1064
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
1065
1066
1067
1068
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
1069
1070
1071
1072
1073
1074
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
1075
1076
1077
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
1078
	Test invalid access to memory.
Benoit Perrot's avatar
Benoit Perrot committed
1079
1080
	* tests/runtime/Makefile.am: Distribute them.
	
Benoit Perrot's avatar
Benoit Perrot committed
1081
1082
1083
1084
1085
1086
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
1087
	load and store exceptions.
Benoit Perrot's avatar
Benoit Perrot committed
1088
1089
1090
	* src/vm/virtual_machine.hh (execute): Stop execution on fatal
	exceptions.

Benoit Perrot's avatar
Benoit Perrot committed
1091
1092
1093
1094
1095
1096
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
1097
1098
1099
1100
1101
1102
1103
1104
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
1105
1106
2004-07-14  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
1107
1108
1109
1110
1111
1112
1113
1114
1115
	* 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
1116
1117
	Reported by Julien Vanegue.

Benoit Perrot's avatar
Benoit Perrot committed
1118
1119
1120
1121
1122
2004-07-14  Benot Perrot  <benoit@lrde.epita.fr>

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

1123
1124
1125
1126
2004-07-12  Akim Demaille  <akim@epita.fr>

	* configure.ac: Bump to 0.7a.

Benoit Perrot's avatar
Benoit Perrot committed
1127
1128
1129
1130
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.
1131
	* tests/runtime/Makefile.am, tests/runtime/uninitialized-x.s:
Benoit Perrot's avatar
Benoit Perrot committed
1132
1133
	Test the case.

Benoit Perrot's avatar
Benoit Perrot committed
1134
1135
1136
1137
1138
1139
2004-06-27  Benot Perrot  <benoit@lrde.epita.fr>

	Update distribution's files.

	* TODO, NEWS, INSTALL: Update.

Benoit Perrot's avatar
Benoit Perrot committed
1140
1141
1142
2004-06-27  Benot Perrot  <benoit@lrde.epita.fr>

	Update test suite machinery.
1143

Benoit Perrot's avatar
Benoit Perrot committed
1144
1145
1146
1147
1148
1149
1150
	* 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,
1151
	* tests/syntax/Makefile.am, tests/syntax/check-syntax,
Benoit Perrot's avatar
Benoit Perrot committed
1152
1153
1154
1155
	* 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.
1156

Benoit Perrot's avatar
Benoit Perrot committed
1157
1158
1159
1160
2004-06-25  Benot Perrot  <benoit@lrde.epita.fr>

	Make Nolimips compile on OS X.

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

1164
1165
1166
1167
1168
1169
1170
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:
1171
	Suggested by Akim Demaille: do not put asm-parse.cc in
1172
1173
	BUILT_SOURCES.

Benoit Perrot's avatar
Benoit Perrot committed
1174
1175
1176
2004-06-13  Benot Perrot  <benoit@lrde.epita.fr>

	Generate debian package.
1177

Benoit Perrot's avatar
Benoit Perrot committed
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
	* 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.
1189

Benoit Perrot's avatar
Benoit Perrot committed
1190
1191
1192
2004-05-29  Benot Perrot  <benoit@lrde.epita.fr>

	Bump to nolimips-0.7
1193

Benoit Perrot's avatar
Benoit Perrot committed
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
	* 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
1209
	* src/inst/inst-tasks.cc, src/inst/inst-tasks.hh,
Benoit Perrot's avatar
Benoit Perrot committed
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
	* 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
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
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
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
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
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
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
1279
1280
	* doc/mipsy.texi:
	Document it.
Benoit Perrot's avatar
Benoit Perrot committed
1281

Benoit Perrot's avatar
Benoit Perrot committed
1282
1283
1284
1285
2004-05-08  Benot Perrot  <benoit@lrde.epita.fr>

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

Benoit Perrot's avatar
Benoit Perrot committed
1287
1288
1289
1290
1291
2004-05-08  Benot Perrot  <benoit@lrde.epita.fr>

	* src/inst/register.hh:
	Add a copy constructor.
	* dev/inst-nodes-gen.py:
1292
	Copy inst::Registers instead of keeping a pointer on them,
Benoit Perrot's avatar
Benoit Perrot committed
1293
1294
	avoiding hazardous memory manipulations.
	* dev/inst-builder-gen.py, src/inst/program_builder.cc,
1295
	* src/vm/cpu.cc (bubble_):
Benoit Perrot's avatar
Benoit Perrot committed
1296
1297
1298
1299
1300
	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
1301
1302
1303
1304
1305
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
1306

Benoit Perrot's avatar
Benoit Perrot committed
1307
1308
1309
1310
1311
1312
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
1313
2004-05-01  Benot Perrot  <benoit@lrde.epita.fr>
Benoit Perrot's avatar
Benoit Perrot committed
1314

Benoit Perrot's avatar
Benoit Perrot committed
1315
	* src/shell/cmd.hh,
Benoit Perrot's avatar
Benoit Perrot committed
1316
	* src/shell/shell.hh, src/shell/shell.cc:
1317
	Use std::string instead of char* or std::string*, avoiding
Benoit Perrot's avatar
Benoit Perrot committed
1318
	hazardous memory manipulations.
Benoit Perrot's avatar
Benoit Perrot committed
1319

Benoit Perrot's avatar
Benoit Perrot committed
1320
1321
1322
1323
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
1324
	Use references for aggregated attributes, and pointers for composed
Benoit Perrot's avatar
Benoit Perrot committed
1325
	attributes.
Benoit Perrot's avatar
Benoit Perrot committed
1326

Benoit Perrot's avatar
Benoit Perrot committed
1327
1328
1329
2004-04-25  Benot Perrot  <benoit@lrde.epita.fr>

	Use coprocessor to raise exception.
1330

Benoit Perrot's avatar
Benoit Perrot committed
1331
1332
1333
1334
1335
	* 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
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
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
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
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
1357
1358
1359
2004-04-24  Benot Perrot  <benoit@lrde.epita.fr>

	Restore distcheck with automake1.8
1360

Benoit Perrot's avatar
Benoit Perrot committed
1361
1362
1363
1364
1365
	* 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
1366
	make dvi failure, leading to make distcheck failure.
Benoit Perrot's avatar
Benoit Perrot committed
1367
1368
	* doc/Makefile.am: Do not distribute deprecated files anymore.

Benoit Perrot's avatar
Benoit Perrot committed
1369
1370
1371
1372
1373
2004-04-24  Benot Perrot  <benoit@lrde.epita.fr>

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

1374
1375
1376
2004-04-20  Jrmy Demeule  <demeul_j@epita.fr>

	Add an interactive shell.
1377

1378
1379
1380
	* src/vm/cpu.hh, src/vm/cpu.cc:
	Add a print operator.
	* src/vm/virtual_machine.hh:
1381
	Add breakpoint suport and some shell entry points for step by step
1382
	execution.
1383

1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
	* 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
1399
2004-04-05  Benot Perrot  <benoit@lrde.epita.fr>
1400

Benoit Perrot's avatar
Benoit Perrot committed
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
	* 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
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
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
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
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
1441
1442
1443
1444
1445
1446
1447
1448
1449
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
1450
1451
1452
1453
1454
1455
1456
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
1457
1458
1459
1460
1461
1462
1463
1464
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
1465
	Suggested by Akim Demaille: remove files, move their content to...
Benoit Perrot's avatar
Benoit Perrot committed
1466
1467
1468
1469
	* doc/mipsy.texi:
	... this file.
	Augment documentation on invocation.

Benoit Perrot's avatar
Benoit Perrot committed
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
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,
1481
	* src/inst/section.hh,
Benoit Perrot's avatar
Benoit Perrot committed
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
	* 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
1510
1511
1512
1513
1514
2004-03-21  Benot Perrot  <benoit@lrde.epita.fr>

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

Benoit Perrot's avatar
Benoit Perrot committed
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
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
1525
	* src/inst/exp.hh,
Benoit Perrot's avatar
Benoit Perrot committed
1526
1527
1528
1529
	* src/inst/data_section.hh,
	* src/inst/text_section.hh:
	Move definitions of virtual methods in corresponding implementation
	file.
1530

Benoit Perrot's avatar
Benoit Perrot committed
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
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:
1547
	Use pointers instead of references for each allocated attribute,
Benoit Perrot's avatar
Benoit Perrot committed
1548
1549
	and delete them.

Benoit Perrot's avatar
Benoit Perrot committed
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
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.
1591

Benoit Perrot's avatar
Benoit Perrot committed
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
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)
1607
	(offset_label_t, label_offset_t, deps_t, register_t, uregister_t)
Benoit Perrot's avatar
Benoit Perrot committed
1608
1609
1610
1611
1612
1613
1614
	(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
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
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
1627
2004-01-15  Benot Perrot  <benoit@lrde.epita.fr>
1628

Benoit Perrot's avatar
Benoit Perrot committed
1629
1630
1631
1632
1633
1634
1635
1636
	* 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.
1637

Benoit Perrot's avatar
Benoit Perrot committed
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
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
1650
1651
2004-01-12  Benot Perrot  <benoit@lrde.epita.fr>

1652
	* configure.ac, NEWS:
Benoit Perrot's avatar
Benoit Perrot committed
1653
1654
1655
1656
	Release 0.5, bump to 0.6.
	* tests/good/Makefile.am,
	* tests/unlimited/Makefile.am,
	* tests/unlimited/check-unlimited:
1657
	Test mipsy forcing NOPs after native branches.
Benoit Perrot's avatar
Benoit Perrot committed
1658

Benoit Perrot's avatar
Benoit Perrot committed
1659
1660
1661
1662
1663
1664
1665
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
1666
1667
1668
1669
1670
1671
1672
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
1673
1674
1675
1676
1677
1678
1679
1680
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
1681
1682
1683
1684
1685
1686
1687
1688
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
1689
1690
1691
1692
1693
1694
1695
1696
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
1697
1698
1699
1700
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.
1701

Benoit Perrot's avatar
Benoit Perrot committed
1702
1703
1704
1705
1706
1707
1708
1709
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:
1710
	Use new mipsy.py package.
Benoit Perrot's avatar
Benoit Perrot committed
1711

Benoit Perrot's avatar
Benoit Perrot committed
1712
1713
1714
2004-01-08  Benot Perrot  <benoit@lrde.epita.fr>

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

Benoit Perrot's avatar
Benoit Perrot committed
1718
1719
1720
2004-01-08  Benot Perrot  <benoit@lrde.epita.fr>

	* dev/mipsy-parser-gen.py: Move to...
1721
	* dev/parse-asm-parse-gen.py: ... this file.
Benoit Perrot's avatar
Benoit Perrot committed
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
	* 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
1734
1735
1736
1737
1738
1739
1740
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
1741
1742
1743
1744
1745
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
1746
1747
2003-10-11  Benot Perrot  <benoit@lrde.epita.fr>

1748
	* src/vm/cpu.hh, src/vm/cpu.cc: Uniformize register accessors,
Benoit Perrot's avatar
Benoit Perrot committed
1749
1750
	removing deprecated ones.

Benoit Perrot's avatar
Benoit Perrot committed
1751
1752
1753
1754
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
1755
1756
1757
1758
2003-09-04  Benot Perrot  <benoit@lrde.epita.fr>

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

1759
1760
2003-08-21  Benot Perrot  <benoit@lrde.epita.fr>

1761
1762
	Make the Cpu responsible of the execution of instructions ;
	the VirtualMachine must be seen as a motherboard that could
1763
	support more than one Cpu.
1764

1765
1766
1767
1768
1769
1770
	* 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.

1771
1772
1773
1774
1775
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
1776
1777
2003-08-19  Benot Perrot  <benoit@lrde.epita.fr>

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

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

1783
	* configure.ac, NEWS:
Benoit Perrot's avatar
Benoit Perrot committed
1784
	Release 0.4, bump to 0.5.
1785
	* Makefile.am: Distribute bootstrap.
Benoit Perrot's avatar
Benoit Perrot committed
1786

1787
1788
2003-08-13  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
1789
1790
1791
1792
1793
1794
1795
1796
	* 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.

1797
1798
1799
2003-08-13  Benot Perrot  <benoit@lrde.epita.fr>

	* src/vm/virtual_machine.cc (syscall): Look for $a0 as argument of
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
	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).
1821

Benoit Perrot's avatar
Benoit Perrot committed
1822
1823
1824
1825
2003-08-11  Benot Perrot  <benoit@lrde.epita.fr>

	* tests/Makefile.am: Distribute tests machinery.

Benoit Perrot's avatar
Benoit Perrot committed
1826
	* tests/common.mk: Distribute variables and rules used by
Benoit Perrot's avatar
Benoit Perrot committed
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
	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
1847

Benoit Perrot's avatar
Benoit Perrot committed
1848
1849
1850
1851
	* tests/runtime/abs.s,
	* tests/runtime/neg.s,
	* tests/runtime/no-main.s,
	* tests/runtime/Makefile.am:
Benoit Perrot's avatar
Benoit Perrot committed
1852
	Distribute tests that fail at run-time.
Benoit Perrot's avatar
Benoit Perrot committed
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872

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

Benoit Perrot's avatar
Benoit Perrot committed
1874
1875
1876
	* configure.ac, Makefile.am:
	Distribute tests suite.

Benoit Perrot's avatar
Benoit Perrot committed
1877
1878
1879
1880
1881
2003-07-29  Benot Perrot  <benoit@lrde.epita.fr>

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

1882
1883
1884
1885
1886
1887
1888
1889
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
1890
1891
1892
1893
1894
2003-07-29  Benot Perrot  <benoit@lrde.epita.fr>

	* configure.ac:
	Bump to 0.4.

Benoit Perrot's avatar
Benoit Perrot committed
1895
1896
1897
1898
1899
2003-07-29  Benot Perrot  <benoit@lrde.epita.fr>

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

Benoit Perrot's avatar
Benoit Perrot committed
1900
1901
1902
1903
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
1904

1905
1906
1907
1908
1909
1910
1911
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.

1912
1913
2003-07-29  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
1914
	* src/task/task_register.hh (parse_args): Do not search beyond
1915
1916
	map's end.

Benoit Perrot's avatar
Benoit Perrot committed
1917
1918
1919
1920
2003-07-28  Benot Perrot  <benoit@lrde.epita.fr>

	* NEWS: Describe main version changes.

Benoit Perrot's avatar
Benoit Perrot committed
1921
1922
1923
1924
1925
1926
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.

1927
1928
1929
1930
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
1931
1932
1933
1934
1935
1936
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
1937

Benoit Perrot's avatar
Benoit Perrot committed
1938
1939
	* TODO: Update.

1940
1941
1942
1943
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
1944
	* src/inst/program_builder.cc,
1945
	* dev/mipsy.xml, dev/mipsy-parser-gen.py, dev/mipsy-scanner-gen.py:
Benoit Perrot's avatar
Benoit Perrot committed
1946
	Adjust.
1947

1948
1949
1950
1951
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
1952
1953
1954
1955
2003-07-17  Benot Perrot  <benoit@lrde.epita.fr>

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

1956
1957
2003-07-17  Benot Perrot  <benoit@lrde.epita.fr>

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

1961
1962
1963
1964
2003-07-17  Benot Perrot  <benoit@lrde.epita.fr>

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

1965
1966
2003-07-17  Benot Perrot  <benoit@lrde.epita.fr>

1967
1968
1969
1970
1971
	* 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
1972

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

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

Benoit Perrot's avatar
Benoit Perrot committed
1977
	* src/inst/section.hh,
Benoit Perrot's avatar
Benoit Perrot committed
1978
	* src/inst/data_section.hh, src/inst/text_section.hh:
1979
	Factor Section code.
Benoit Perrot's avatar
Benoit Perrot committed
1980

1981
1982
2003-07-11  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
1983
	* config/depcomp, config/install-sh, config/missing,
1984
1985
	* config/mkinstalldirs:
	Remove auto-generated files.
1986

Benoit Perrot's avatar
Benoit Perrot committed
1987
1988
1989
1990
1991
2003-07-11  Benot Perrot  <benoit@lrde.epita.fr>

	* configure.ac:
	Bump to 0.3.

1992
1993
1994
1995
1996
2003-07-11  Benot Perrot  <benoit@lrde.epita.fr>

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

1997
1998
1999
2000
2001
2002
2003
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.

2004
2005
2003-07-11  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
2006
	* dev/mipsy-scanner-gen.py,
2007
2008
2009
2010
2011
	* src/inst/register.hh, src/vm/cpu.hh:
	Use a register vector for general purpose registers.
	* src/vm/virtual_machine.cc:
	Adjust.

2012
2013
2014
2015
2016
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.

2017
2018
2019
2020
2021
2003-07-07  Benot Perrot  <benoit@lrde.epita.fr>

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

2022
2023
2024
2025
2003-07-07  Benot Perrot  <benoit@lrde.epita.fr>

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

2026
2027
2028
2029
2030
2031
2032
2033
2034
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
2035
2036
2037
2003-07-06  Benot Perrot  <benoit@lrde.epita.fr>

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

2041
2042
2003-07-05  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
2043
	* dev/mipsy.xml,