ChangeLog 11.6 KB
Newer Older
1
2
2003-08-13  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
3
4
5
6
7
8
9
10
11
12
	* 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>	

13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
	* 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
36
37
38
39
2003-08-11  Benot Perrot  <benoit@lrde.epita.fr>

	* tests/Makefile.am: Distribute tests machinery.

Benoit Perrot's avatar
Benoit Perrot committed
40
	* tests/common.mk: Distribute variables and rules used by
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
	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
61

Benoit Perrot's avatar
Benoit Perrot committed
62
63
64
65
	* tests/runtime/abs.s,
	* tests/runtime/neg.s,
	* tests/runtime/no-main.s,
	* tests/runtime/Makefile.am:
Benoit Perrot's avatar
Benoit Perrot committed
66
	Distribute tests that fail at run-time.
Benoit Perrot's avatar
Benoit Perrot committed
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86

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

Benoit Perrot's avatar
Benoit Perrot committed
88
89
90
	* configure.ac, Makefile.am:
	Distribute tests suite.

Benoit Perrot's avatar
Benoit Perrot committed
91
92
93
94
95
2003-07-29  Benot Perrot  <benoit@lrde.epita.fr>

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

96
97
98
99
100
101
102
103
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
104
105
106
107
108
2003-07-29  Benot Perrot  <benoit@lrde.epita.fr>

	* configure.ac:
	Bump to 0.4.

Benoit Perrot's avatar
Benoit Perrot committed
109
110
111
112
113
2003-07-29  Benot Perrot  <benoit@lrde.epita.fr>

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

Benoit Perrot's avatar
Benoit Perrot committed
114
115
116
117
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
118

119
120
121
122
123
124
125
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.

126
127
2003-07-29  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
128
	* src/task/task_register.hh (parse_args): Do not search beyond
129
130
	map's end.

Benoit Perrot's avatar
Benoit Perrot committed
131
132
133
134
2003-07-28  Benot Perrot  <benoit@lrde.epita.fr>

	* NEWS: Describe main version changes.

Benoit Perrot's avatar
Benoit Perrot committed
135
136
137
138
139
140
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.

141
142
143
144
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
145
146
147
148
149
150
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
151

Benoit Perrot's avatar
Benoit Perrot committed
152
153
	* TODO: Update.

154
155
156
157
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
158
	* src/inst/program_builder.cc,
159
	* dev/mipsy.xml, dev/mipsy-parser-gen.py, dev/mipsy-scanner-gen.py:
Benoit Perrot's avatar
Benoit Perrot committed
160
	Adjust.
161

162
163
164
165
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
166
167
168
169
2003-07-17  Benot Perrot  <benoit@lrde.epita.fr>

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

170
171
2003-07-17  Benot Perrot  <benoit@lrde.epita.fr>

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

175
176
177
178
2003-07-17  Benot Perrot  <benoit@lrde.epita.fr>

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

179
180
2003-07-17  Benot Perrot  <benoit@lrde.epita.fr>

181
182
183
184
185
	* 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
186

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

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

Benoit Perrot's avatar
Benoit Perrot committed
191
	* src/inst/section.hh,
Benoit Perrot's avatar
Benoit Perrot committed
192
	* src/inst/data_section.hh, src/inst/text_section.hh:
193
	Factor Section code.
Benoit Perrot's avatar
Benoit Perrot committed
194

195
196
2003-07-11  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
197
	* config/depcomp, config/install-sh, config/missing,
198
199
	* config/mkinstalldirs:
	Remove auto-generated files.
200

Benoit Perrot's avatar
Benoit Perrot committed
201
202
203
204
205
2003-07-11  Benot Perrot  <benoit@lrde.epita.fr>

	* configure.ac:
	Bump to 0.3.

206
207
208
209
210
2003-07-11  Benot Perrot  <benoit@lrde.epita.fr>

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

211
212
213
214
215
216
217
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.

218
219
2003-07-11  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
220
	* dev/mipsy-scanner-gen.py,
221
222
223
224
225
	* src/inst/register.hh, src/vm/cpu.hh:
	Use a register vector for general purpose registers.
	* src/vm/virtual_machine.cc:
	Adjust.

226
227
228
229
230
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.

231
232
233
234
235
2003-07-07  Benot Perrot  <benoit@lrde.epita.fr>

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

236
237
238
239
2003-07-07  Benot Perrot  <benoit@lrde.epita.fr>

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

240
241
242
243
244
245
246
247
248
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
249
250
251
2003-07-06  Benot Perrot  <benoit@lrde.epita.fr>

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

255
256
2003-07-05  Benot Perrot  <benoit@lrde.epita.fr>

Benoit Perrot's avatar
Benoit Perrot committed
257
	* dev/mipsy.xml,
258
259
260
261
262
263
	* 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.

264
265
266
267
268
269
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
270

271
272
273
274
275
276
277
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
278
	* src/vm/virtual_machine.cc,
279
	Adjust.
Benoit Perrot's avatar
Benoit Perrot committed
280

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

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

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

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

Benoit Perrot's avatar
Benoit Perrot committed
290
291
292
293
294
295
296
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
297

Benoit Perrot's avatar
Benoit Perrot committed
298
299
300
301
	* 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
302

Benoit Perrot's avatar
Benoit Perrot committed
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
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
331

Benoit Perrot's avatar
Benoit Perrot committed
332
333
334
335
336
337
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
338
339
340
341
342
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
343

Benoit Perrot's avatar
Benoit Perrot committed
344
345
	* README:
	Document it.
Benoit Perrot's avatar
Benoit Perrot committed
346

347
348
349
350
2003-06-29  Benot Perrot  <benoit@lrde.epita.fr>

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

352
353
	* vm/memory.hh: New.
	* vm/segment.hh: New.
Benoit Perrot's avatar
Benoit Perrot committed
354

355
356
357
358
359
360
361
362
	* 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
363

364
365
366
367
368
369
370
371
372
373
	* 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
374

375
376
377
378
379
380
381
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
382

383
384
385
386
387
388
389
390
391
392
	* 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
393

394
395
396
397
398
399
	* 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
400

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

403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
	* 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.