Wed Jan 24 21:00:40 CET 2007 Paolo Molaro <lupus@ximian.com>
[mono.git] / mono / arch / ChangeLog
1
2 Wed Jan 24 21:00:40 CET 2007 Paolo Molaro <lupus@ximian.com>
3
4         * arm/arm-codegen.h: fixed encoding of short/byte load/store
5         instructions with negative immediate offsets.
6
7 Mon Nov 20 17:36:45 CET 2006 Paolo Molaro <lupus@ximian.com>
8
9         * arm/arm-codegen.h: added suppot for thumb interworking instructions.
10
11 Wed Nov 15 16:56:53 CET 2006 Paolo Molaro <lupus@ximian.com>
12
13         * mips/*: fixes by Mark E Mason <mark.e.mason@broadcom.com>.
14
15 2006-09-12  Zoltan Varga  <vargaz@gmail.com>
16
17         * alpha/alpha-codegen.h: More alpha updates from Sergey Tikhonov <tsv@solvo.ru>.
18
19 Tue Sep 12 13:09:56 CEST 2006 Paolo Molaro <lupus@ximian.com>
20
21         * arm/*: VFP floating point format code generation support.
22
23 2006-09-12  Zoltan Varga  <vargaz@gmail.com>
24
25         * ia64/ia64-codegen.h: Add xmpy_l/u pseudo ops.
26
27 2006-07-19  Zoltan Varga  <vargaz@gmail.com>
28
29         * amd64/amd64-codegen.h: Fix amd64_mov_mem_reg.
30
31         * alpha/alpha-codegen.h alpha/test.c alpha/tramp.c: Applied patch from 
32         Sergey Tikhonov <tsv@solvo.ru>. Updates to alpha support.
33
34 Thu Jun 15 16:59:36 CEST 2006 Paolo Molaro <lupus@ximian.com>
35
36         * ppc/ppc-codegen.h: reduce noisy build warnings by
37         casting to the more commonly used unsigned char type
38         (from johannes@sipsolutions.net (Johannes Berg)).
39
40 2006-05-14  Zoltan Varga  <vargaz@gmail.com>
41
42         * ia64/ia64-codegen.h (ia64_fetchadd8_acq_hint_pred): Fix encoding of this
43         opcode.
44
45 2006-04-21  Zoltan Varga  <vargaz@gmail.com>
46
47         * Makefile.am (SUBDIRS): Revert the last change as arm depends on the old
48         behaviour.
49
50 2006-04-12  Zoltan Varga  <vargaz@gmail.com>
51
52         * sparc/sparc-codegen.h (sparc_inst_i): New disassembly macro.
53
54 2006-04-04  Zoltan Varga  <vargaz@gmail.com>
55
56         * Makefile.am (SUBDIRS): Avoid compiling subdirs needed by the
57         interpreter.
58
59 2005-12-22  Zoltan Varga  <vargaz@gmail.com>
60
61         * sparc/sparc-codegen.h (sparc_membar): Add membar instruction.
62
63 2005-10-30  Zoltan Varga  <vargaz@gmail.com>
64
65         * ia64/ia64-codegen.h (ia64_m17): Fix a warning.
66
67 2005-10-16  Zoltan Varga  <vargaz@freemail.hu>
68
69         * amd64/amd64-codegen.h (AMD64_CALLEE_SAVED_REGS): Add %rbp.
70
71 2005-09-27  Raja R Harinath  <rharinath@novell.com>
72
73         * arm/dpiops.sh, arm/fpaops.h: Output to stdout.
74         * arm/Makefile.am (arm_dpimacros.h, arm_fpamacros.h): Update.  Fix
75         for srcdir != builddir.
76
77 2005-09-11  Zoltan Varga  <vargaz@gmail.com>
78
79         * ia64/ia64-codegen.h (ia64_unw_pop_frames): New unwind macro.
80
81 2005-09-10  Zoltan Varga  <vargaz@gmail.com>
82
83         * ia64/ia64-codegen.h: Remove 'manual' emitting of instructions. 
84         Integrate emission of unwind directives into the assembly macros.
85
86 2005-09-04  Zoltan Varga  <vargaz@gmail.com>
87
88         * ia64/ia64-codegen.h (ia64_no_stop): New macro.
89
90 2005-08-27  Zoltan Varga  <vargaz@gmail.com>
91
92         * ia64/ia64-codegen.h: Fix some bugs.
93
94         * ia64/codegen.c: Update to work with latest ia64-codegen.h
95
96 2005-08-26  Zoltan Varga  <vargaz@gmail.com>
97
98         * ia64/Makefile.am: Distribute ia64-codegen.h.
99
100 2005-08-21  Zoltan Varga  <vargaz@freemail.hu>
101
102         * ia64/ia64-codegen.h: Improve ins scheduling and fix some bugs.
103
104 2005-08-17  Zoltan Varga  <vargaz@freemail.hu>
105
106         * ia64/ia64-codegen.h: Add dependency information for all instructions.
107
108 2005-07-30  Zoltan Varga  <vargaz@freemail.hu>
109
110         * ia64/ia64-codegen.h: Ongoing IA64 work.
111
112 Wed Jul 20 18:01:54 BST 2005 Paolo Molaro <lupus@ximian.com>
113
114         * arm/*: more codegen macros.
115
116 2005-07-18  Zoltan Varga  <vargaz@freemail.hu>
117
118         * ia64/ia64-codegen.h (ia64_is_adds_imm): Ongoing IA64 work.
119
120 2005-06-23  Zoltan Varga  <vargaz@freemail.hu>
121
122         * ia64/ia64-codegen.h: Add some new pseudo ops.
123
124 2005-06-19  Zoltan Varga  <vargaz@freemail.hu>
125
126         * ia64/ia64-codegen.h: Fix encoding of ia64_fclass.
127
128 2005-06-12  Zoltan Varga  <vargaz@freemail.hu>
129
130         * ia64/ia64-codegen.h: Ongoing IA64 work.
131
132 2005-06-09  Zoltan Varga  <vargaz@freemail.hu>
133
134         * ia64/ia64-codegen.h: Ongoing IA64 work.
135
136 2005-05-30  Zoltan Varga  <vargaz@freemail.hu>
137
138         * ia64/codegen.c: Fix it after latest changes.
139
140 2005-05-29  Zoltan Varga  <vargaz@freemail.hu>
141
142         * ia64/ia64-codegen.h: Ongoing IA64 work.
143         
144         * ia64/ia64-codegen.h: Ongoing IA64 work.
145
146 2005-05-28  Zoltan Varga  <vargaz@freemail.hu>
147
148         * ia64/ia64-codegen.h: Ongoing IA64 work.
149         
150         * ia64/ia64-codegen.h: Ongoing IA64 work.
151
152         * ia64/ia64-codegen.h: Ongoing IA64 work.
153
154 2005-05-26  Zoltan Varga  <vargaz@freemail.hu>
155
156         * ia64/ia64-codegen.h: Ongoing IA64 work.
157
158 2005-05-22  Zoltan Varga  <vargaz@freemail.hu>
159
160         * ia64/ia64-codegen.h: Ongoing IA64 work.
161         
162         * ia64/ia64-codegen.h: Ongoing IA64 work.
163
164         * ia64/ia64-codegen.h: Ongoing IA64 work.
165
166 2005-05-21  Zoltan Varga  <vargaz@freemail.hu>
167
168         * ia64/ia64-codegen.h: Ongoing IA64 work.
169
170 2005-05-19  Zoltan Varga  <vargaz@freemail.hu>
171
172         * ia64/ia64-codegen.h ia64/codegen.c: Ongoing ia64 work.
173
174 2005-05-18  Zoltan Varga  <vargaz@freemail.hu>
175
176         * ia64/ia64-codegen.h (ia64_codegen_init): Rename macro parameter.
177
178 2005-05-14  Zoltan Varga  <vargaz@freemail.hu>
179
180         * Makefile.am: Only compile libmonoarch if the interpreter is compiled.
181
182         * ia64/ia64-codegen.h: Add IA64 code generation macros.
183
184         * Makefile.am: Add ia64 subdir.
185
186 2005-05-05  Zoltan Varga  <vargaz@freemail.hu>
187
188         * alpha/tramp.c: Applied patch from Jakub Bogusz <qboosh@pld-linux.org>.
189
190 2005-03-28  Zoltan Varga  <vargaz@freemail.hu>
191
192         * amd64/amd64-codegen.h: Avoid emitting a rex in some places.
193
194 2005-03-15  Zoltan Varga  <vargaz@freemail.hu>
195
196         * amd64/amd64-codegen.h (amd64_emit_rex): Emit a rex when accessing the
197         byte registers.
198         
199         * amd64/amd64-codegen.h (AMD64_BYTE_REGS): Add AMD64_BYTE_REGS macro.
200
201 2005-03-14  Zoltan Varga  <vargaz@freemail.hu>
202
203         * amd64/amd64-codegen.h: Add missing AMD64_XMM7.
204
205 2005-03-13  Zoltan Varga  <vargaz@freemail.hu>
206
207         * amd64/amd64-codegen.h: Remove some unneccesary REXes.
208
209 2005-03-08  Zoltan Varga  <vargaz@freemail.hu>
210
211         * amd64/amd64-codegen.h (amd64_sse_cvtsi2sd_reg_reg_size): Add _size
212         variants to some sse2 macros.
213
214         * amd64/amd64-codegen.h (amd64_sse_cvtsd2si_reg_reg): Make this convert
215         to a 64 bit value.
216
217 2005-03-06  Zoltan Varga  <vargaz@freemail.hu>
218
219         * amd64/amd64-codegen.h: Add some SSE2 instructions.
220
221 2005-02-20  Zoltan Varga  <vargaz@freemail.hu>
222
223         * amd64/amd64-codegen.h: Add xadd instructions.
224         
225         * amd64/amd64-codegen.h (amd64_jump_code_size): Do not emit a rex.
226
227 2004-11-25  Zoltan Varga  <vargaz@freemail.hu>
228
229         * amd64/amd64-codegen.h: Updates to support the PIC changes.
230
231 Fri Nov 19 17:29:22 CET 2004 Paolo Molaro <lupus@ximian.com>
232
233         * ppc/ppc-codegen.h: counter reg decrement branch values
234         (patch by Geoff Norton <gnorton@customerdna.com>).
235
236 2004-11-16  Patrik Torstensson <patrik.torstensson@gmail.com>
237
238         * x86/x86-codegen.h: added opcodes for xadd instructions
239
240 2004-11-15  Zoltan Varga  <vargaz@freemail.hu>
241
242         * amd64/x86-64-codegen.h: Get rid of this.
243
244 2004-08-30  Zoltan Varga  <vargaz@freemail.hu>
245
246         * amd64/amd64-codegen.h (amd64_imul_reg_membase_size): Fix REX
247         generation.
248
249 2004-08-29  Zoltan Varga  <vargaz@freemail.hu>
250
251         * amd64/amd64-codegen.h: More SSE work.
252         
253         * amd64/amd64-codegen.h: Add SSE2 instructions.
254
255 2004-08-21  Zoltan Varga  <vargaz@freemail.hu>
256
257         * amd64/amd64-codegen.h (X86_IS_BYTE_REG): Redefine X86_IS_BYTE_REG
258         since under amd64, all 16 registers have a low part.
259
260 2004-08-16  Zoltan Varga  <vargaz@freemail.hu>
261
262         * x86/x86-codegen.h: Add macros for accessing the mod/rm byte.
263
264 2004-07-30  Zoltan Varga  <vargaz@freemail.hu>
265
266         * amd64/amd64-codegen.h: Ongoing JIT work.
267
268 2004-07-29  Ben Maurer  <bmaurer@ximian.com>
269
270         * x86/x86-codegen.h: Add opcodes for cmp BYTE PTR [eax], imm
271
272 2004-07-28  Zoltan Varga  <vargaz@freemail.hu>
273
274         * amd64/amd64-codegen.h: Ongoing JIT work.
275
276 2004-07-24  Zoltan Varga  <vargaz@freemail.hu>
277
278         * amd64/amd64-codegen.h: Ongoing JIT work.
279
280 2004-07-23  Zoltan Varga  <vargaz@freemail.hu>
281
282         * amd64/amd64-codegen.h: Ongoing JIT work.
283
284 2004-07-23  zovarga  <vargaz@freemail.hu>
285
286         * amd64/amd64-codegen.h: Ongoing JIT work.
287
288 2004-06-30  Zoltan Varga  <vargaz@freemail.hu>
289
290         * sparc/sparc-codegen.h: Add SPARC64 support.
291
292 2004-05-07  Bernie Solomon  <bernard@ugsolutions.com>
293
294         * ppc/ppc-codegen.h: remove GCC-ism in ppc_emit32
295
296 2004-04-29  Bernie Solomon  <bernard@ugsolutions.com>
297
298         * ppc/tramp.c: use sizeof (stackval), fix
299         delegate tramp frame layout for Apple
300
301 2004-04-26  David Waite <mass@akuma.org>
302
303         * unknown.c: modify to have content for defined platforms (to
304         avoid ISO C warning)
305
306 2004-03-29  Bernie Solomon  <bernard@ugsolutions.com>
307
308         * amd64/tramp.c:
309         * arm/tramp.c:
310         * hppa/tramp.c:
311         * ppc/tramp.c:
312         * s390/tramp.c:
313         * sparc/tramp.c:
314         * x86/tramp.c:
315         remove child from MonoInvocation as it isn't used.
316
317         * hppa/hppa-codegen.h:
318         fix displacements in FP instrs
319
320 2004-03-23  Bernie Solomon  <bernard@ugsolutions.com>
321
322         * hppa/hppa-codegen.h: created
323
324         * hppa/tramp.c: changed style to be more like
325         other platforms.
326
327         * hppa/Makefile.am: add hppa-codegen.h
328
329 2004-03-16  Zoltan Varga  <vargaz@freemail.hu>
330
331         * sparc/sparc-codegen.h: Add v9 branches with prediction.
332
333 2004-03-15  Bernie Solomon  <bernard@ugsolutions.com>
334
335         * sparc/sparc-codegen.h: tweak sparc_mov_reg_reg
336         so Sun's dis command recognizes it.
337
338 2004-03-15  Zoltan Varga  <vargaz@freemail.hu>
339
340         * sparc/sparc-codegen.h: Add some v9 instructions.
341
342 2004-03-11  Zoltan Varga  <vargaz@freemail.hu>
343
344         * sparc/sparc-codegen.h: Ongoing sparc work.
345
346 2004-03-07  Duncan Mak  <duncan@ximian.com>
347
348         * Makefile.am: Removed the reference to 'x86-64'. This was the cause
349         of the missing Mono daily tarballs, 'make dist' wasn't working.
350         
351         We do have an 'amd64' directory, but it doesn't make it in 'make
352         dist'.
353
354 2004-02-19  Zoltan Varga  <vargaz@freemail.hu>
355
356         * sparc/sparc-codegen.h: Fix lots of opcodes + add new ones.
357
358         * sparc/tramp.c: Fix alignment of structures containing doubles.
359
360 2004-02-02  Zoltan Varga  <vargaz@freemail.hu>
361
362         * sparc/tramp.c: Implement all floating point argument passing conventions in
363         Sparc V8. Also fix structure passing in V8.
364
365 Thu Nov 13 16:24:29 CET 2003 Paolo Molaro <lupus@ximian.com>
366
367         * ppc/ppc-codegen.h: fixed most of the incorrect macros from ct.
368
369 2003-10-31  Zoltan Varga  <vargaz@freemail.hu>
370
371         * */tramp.c (mono_create_method_pointer): Rename to 
372         mono_arch_create_method_pointer, move common code to a new function in
373         interp.c.
374
375         * */tramp.c (mono_create_trampoline): Rename to 
376         mono_arch_create_trampoline for consistency.
377         
378 2003-10-13  Bernie Solomon  <bernard@ugsolutions.com>
379
380         * x86/tramp.c: restore EDX after memcpy call
381
382 2003-10-13  Bernie Solomon  <bernard@ugsolutions.com>
383
384         * Makefile.am: add hppa subdir 
385
386         * hppa/tramp.c: add initial implementation - this is 64 bit only
387         hppa/Makefile.am hppa/.cvsignore: added
388
389 2003-10-13  Bernie Solomon  <bernard@ugsolutions.com>
390
391         * sparc/sparc-codegen.h sparc/tramp.c: add initial implementation
392         for V9 (64 bit), cover more 32 bit cases as well.
393
394 2003-09-03  Zoltan Varga  <vargaz@freemail.hu>
395
396         * x86/tramp.c: Fixes from Bernie Solomon (bernard@ugsolutions.com).
397
398 2003-08-21  Zoltan Varga  <vargaz@freemail.hu>
399
400         * x86/tramp.c: Fixes from Bernie Solomon (bernard@ugsolutions.com).
401
402 Tue Jul 1 13:03:43 CEST 2003 Paolo Molaro <lupus@ximian.com>
403
404         * alpha/tramp.c: update from Laramie Leavitt (lar@leavitt.us).
405
406 2003-05-20  Dietmar Maurer  <dietmar@ximian.com>
407
408         * x86/x86-codegen.h (x86_set_reg): add an assertion - it does
409         not work for all registers.
410
411 Sat Feb 1 10:59:31 CET 2003 Paolo Molaro <lupus@ximian.com>
412
413         * alpha/*: update from Laramie.
414
415 Mon Jan 27 12:49:10 CET 2003 Paolo Molaro <lupus@ximian.com>
416
417         * alpha/*: start of the port to the alpha architecture by
418         Laramie Leavitt (<lar@leavitt.us>).
419
420 Tue Jan 21 17:29:53 CET 2003 Paolo Molaro <lupus@ximian.com>
421
422         * ppc/ppc-codegen.h: completed ppc native code generation by
423         Taylor Christopher P <ct@cs.clemson.edu>.
424
425 Fri Jan 17 21:14:18 CET 2003 Paolo Molaro <lupus@ximian.com>
426
427         * ppc/tramp.c: adapted to work for MacOSX (from a patch by 
428         John Duncan).
429
430 2002-11-11  Mark Crichton  <crichton@gimp.org>
431
432         * sparc/tramp.c: Added some disassembly bits for debugging.
433
434 2002-10-02  Mark Crichton  <crichton@gimp.org>
435
436         * sparc/tramp.c: More cleanup of the trampoline code.  Still some
437         problems with it w.r.t. delegates.
438
439 2002-09-25  Mark Crichton  <crichton@gimp.org>
440
441         * sparc/tramp.c: Off by one error.  Whoops.  Trampoline code should
442         now work properly.
443
444 2002-09-24  Mark Crichton  <crichton@gimp.org>
445
446         * sparc/tramp.c: Works as well as the old code did.  Cleanup is
447         finished.  The framework now for adding more type support is in,
448         and should be a *lot* cleaner.
449         
450 2002-09-22  Mark Crichton  <crichton@gimp.org>
451
452         * sparc/tramp.c: Completely broke trampolining on SPARC processors.
453         The code needed a nasty cleanup, so most of it is rewritten.
454         It will be fixed.
455
456 2002-08-20  Mark Crichton <crichton@gimp.org>
457
458         * sparc/tramp.c (mono_create_trampoline): Now works on Sparc.  Tested
459         on an Ultra 2 running Linux.
460
461 Mon Aug 5 19:21:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
462
463         * x86/tramp.c: fix random memory read in mono_create_method_pointer.
464
465 2002-08-05  Dietmar Maurer  <dietmar@ximian.com>
466
467         * x86/tramp.c (mono_create_trampoline): fixed stack_size bug
468
469 2002-08-01  Dietmar Maurer  <dietmar@ximian.com>
470
471         * x86/tramp.c (mono_create_method_pointer): allocate space for
472         value types.
473         (mono_create_trampoline): also push the value type pointer for
474         methods returning value types.
475         (mono_create_method_pointer): support valuetype returns.
476
477 2002-07-31  Dietmar Maurer  <dietmar@ximian.com>
478
479         * x86/tramp.c: remove code to handle PInvoke because this is no
480         longer needed.
481         (mono_create_method_pointer): return method->addr for pinvoke methods
482
483 Fri Jul 19 14:18:36 CEST 2002 Paolo Molaro <lupus@ximian.com>
484
485         * x86/tramp.c: fix float loads. Simple delegate marshaling fix.
486
487 2002-07-08  Radek Doulik  <rodo@ximian.com>
488
489         * ppc/tramp.c: marshaling for SZARRAY
490
491 2002-07-05  Radek Doulik  <rodo@ximian.com>
492
493         * ppc/tramp.c: removed magic hack
494
495 Tue Jun 18 10:21:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
496
497         * x86/tramp.c: marshal simple arrays correctly.
498
499 2002-05-27  Miguel de Icaza  <miguel@ximian.com>
500
501         * x86/x86-codegen.h: Set the standard header format.
502
503 2002-05-23  Dietmar Maurer  <dietmar@ximian.com>
504
505         * x86/tramp.c (mono_create_method_pointer): removed the magic
506         trick to store the function pointer in the prolog and use the same
507         mechanism as in the jit.
508
509 2002-05-13  Radek Doulik  <rodo@ximian.com>
510
511         * ppc/tramp.c (emit_save_parameters): fix I8 parameters
512
513 2002-05-06  Sergey Chaban  <serge@wildwestsoftware.com>
514
515         * x86/x86-codegen.h: added missing shifts;
516         8-bit ALU operations (reg-reg);
517         macro for FPU ops with integer operand;
518         FIST macro (without pop);
519
520 Mon Apr 22 12:57:31 CEST 2002 Paolo Molaro <lupus@ximian.com>
521
522         * x86/x86-codegen.h: added loop instructions and made x86_patch fully
523         useful.
524
525 2002-04-20  Dietmar Maurer  <dietmar@ximian.com>
526
527         * x86/tramp.c (mono_create_trampoline): support internalcall
528         String constructors
529
530 Sat Apr 6 16:29:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
531
532         * x86/tramp.c: fix advancement of argument position on the stack.
533
534 Sat Mar 16 19:12:57 CET 2002 Paolo Molaro <lupus@ximian.com>
535
536         * x86/tramp.c: increase default allocated size for trampolines
537         and assert on overflow.
538
539 2002-03-14  Dietmar Maurer  <dietmar@ximian.com>
540
541         * x86/tramp.c (mono_create_trampoline): dont use fld/fst to copy
542         R8 values
543
544 Mon Mar 11 16:14:29 CET 2002 Paolo Molaro <lupus@ximian.com>
545
546         * x86/x86-codegen.h: addex x86_clear_reg() and changed
547         x86_mov_reg_imm() to not check for imm == 0.
548
549 Thu Feb 28 12:34:21 CET 2002 Paolo Molaro <lupus@ximian.com>
550
551         * x86/tramp.c: start handling of more complex marshaling stuff.
552
553 2002-02-25  Sergey Chaban  <serge@wildwestsoftware.com>
554
555         * arm: added ARM support code.
556         * Makefile.am: added arm to DIST_SUBDIRS.
557
558 2002-02-24  Radek Doulik  <rodo@ximian.com>
559
560         * ppc/tramp.c (mono_create_method_pointer): basic delegates
561         implementation, it works for simple delegates now and I am already
562         pretty close to have it working for every delegates, but I am
563         going to sleep and finish it tomorrow?
564         (mono_create_method_pointer): implements delegates with parameters
565         and return value
566
567 2002-02-22  Jeffrey Stedfast  <fejj@ximian.com>
568
569         * sparc/tramp.c (mono_create_trampoline): Much tinkering to get
570         the opcodes more correct. Still needs a lot of work.
571
572 2002-02-19  Radek Doulik  <rodo@ximian.com>
573
574         * ppc/tramp.c (emit_save_parameters): don't start saving 64bit values to
575         even registers
576         added stack saving for most arguments
577
578 Tue Feb 19 20:19:38 CET 2002 Paolo Molaro <lupus@ximian.com>
579
580         * x86/tramp.c: avoid pointer arthmetric (pointed out by Serge).
581
582 2002-02-17  Radek Doulik  <rodo@ximian.com>
583
584         * ppc/tramp.c: fixed minimal stack size, fixed string parameters,
585         fix byte and half word parameters 
586         (mono_string_new_wrapper): new helper function, cut&pasted from
587         x86, modified to check for NULL text to avoid branching in
588         generated code
589         (calculate_sizes): updated for string retval changes
590         (emit_call_and_store_retval): updated for string retval
591
592         * ppc/ppc-codegen.h (ppc_mr): added lhz, lbz, sth
593
594 2002-02-16  Radek Doulik  <rodo@ximian.com>
595
596         * ppc/tramp.c (emit_call_and_store_retval): support U2, I2, CHAR
597
598 Mon Feb 11 18:40:04 CET 2002 Paolo Molaro <lupus@ximian.com>
599
600         * sparc/*: sparc codegen header and some untested trampoline code.
601
602 Mon Feb 11 12:32:35 CET 2002 Paolo Molaro <lupus@ximian.com>
603
604         * x86/tramp.c: fix handling of multiple marshaleed strings.
605         * x86/x86-codegen.h: some code to patch branch displacements.
606
607 Fri Feb 1 16:03:00 CET 2002 Paolo Molaro <lupus@ximian.com>
608
609         * x86/tramp.c, ppc/tramp.c: implement mono_method_pointer_get ().
610
611 2002-01-23  Miguel de Icaza  <miguel@ximian.com>
612
613         * x86/tramp.c (mono_create_trampoline): Do not try to create a
614         mono_string_new if the return value from the PInvoke code is
615         NULL. 
616
617 Mon Jan 14 11:50:16 CET 2002 Paolo Molaro <lupus@ximian.com>
618
619         * x86/x86-codegen.c: added overflow condition code and some aliases
620         for the other ccs.
621
622 Thu Jan 10 21:01:08 CET 2002 Paolo Molaro <lupus@ximian.com>
623
624         * x86/tramp.c: mono_create_trampoline (): the runtime argument is
625         needed to handle correctly delegates, the previous change in handling
626         the string return type broke them.
627
628 Tue Jan  8 22:38:41 MST 2002 Matt Kimball <matt@kimball.net>
629         
630         * x86/tramp.c: handle strings returned from functions in external 
631         libraries by converting to a Mono string object after the pinvoke'd 
632         function returns
633         
634 Sat Jan 5 15:51:06 CET 2002 Paolo Molaro <lupus@ximian.com>
635
636         * x86/tramp.c: handle short integer return types.
637
638 Thu Dec 20 20:13:07 CET 2001 Paolo Molaro <lupus@ximian.com>
639
640         * x86/tramp.c: fix create_method_pointer() to pass the arguments
641         correctly and add check for overflow.
642
643 Thu Dec 13 15:56:53 CET 2001 Paolo Molaro <lupus@ximian.com>
644
645         * x86/x86-codegen.h: x86_mov_memindex_imm() added.
646         
647 2001-11-29  Radek Doulik  <rodo@ximian.com>
648
649         * ppc/tramp.c: use r12 which is volatile instead of non-volatile
650         r14 to avoid saving
651
652         * Makefile.am (libmonoarch_la_LIBADD): added ppc to DIST_SUBDIRS
653         generate libmonoarch for ppc
654
655 Tue Nov 27 15:24:07 CET 2001 Paolo Molaro <lupus@ximian.com>
656
657         * x96/x86-codegen.c: x86_lea_memindex() added.
658
659 Thu Nov 15 17:41:01 CET 2001 Paolo Molaro <lupus@ximian.com>
660
661         * x86/tramp.c: handle enums with underlying type different from int32.
662
663 Wed Nov 14 19:21:26 CET 2001 Paolo Molaro <lupus@ximian.com>
664
665         * x86/tramp.c: handle boolean as a return value.
666         * x96/x86-codegen.c: x86_widen_memindex() added.
667
668 2001-11-07  Miguel de Icaza  <miguel@ximian.com>
669
670         * x86/tramp.c: Include stdlib to kill warning.
671
672 Mon Oct 22 15:20:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
673
674         * x86/tramp.c: handle boolean, u1 and i1 as return values.
675
676 Wed Oct 10 16:07:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
677
678         * x86/x86-codegen.c: added x86_set_{reg,mem,membase}.
679
680 Mon Oct 8 16:13:07 CEST 2001 Paolo Molaro <lupus@ximian.com>
681
682         * x86/tramp.c: remove mono_get_ansi_string () and use
683         mono_string_to_utf8 () instead.
684
685 Thu Oct 4 19:09:13 CEST 2001 Paolo Molaro <lupus@ximian.com>
686
687         * x86/tramp.c: allow marshalling valuetypes if they are
688         4 bytes long.
689
690 Mon Oct 1 18:48:27 CEST 2001 Paolo Molaro <lupus@ximian.com>
691
692         * x86/tramp.c: fix thinko (s/SUB/ADD/) in stack adjustment
693         and avoid a couple of unnecessary instructions.
694
695 Fri Sep 28 19:43:12 CEST 2001 Paolo Molaro <lupus@ximian.com>
696
697         * x86/tramp.c: marshal valuetypes that are enums.
698
699 Thu Sep 27 15:34:37 CEST 2001 Paolo Molaro <lupus@ximian.com>
700
701         * x86/x86-codegen.h: in memindex operand you can use X86_NOBASEREG
702         as basereg.
703
704 Wed Sep 26 16:29:36 CEST 2001 Paolo Molaro <lupus@ximian.com>
705
706         * x86/x86-codegen.h: added memindex addressing mode encoding
707         (and mov to/from register opcodes).
708
709 Mon Sep 24 18:49:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
710
711         * x86/tramp.c: don't change a MONO_TYPE_STRING to a char*
712         when it's an argument to an internalcall.
713
714 Sun Sep 23 13:44:57 CEST 2001 Paolo Molaro <lupus@ximian.com>
715
716         * x86/tramp.c: handle MONO_TYPE_CLASS in trampolines.
717
718 2001-09-21  Dietmar Maurer  <dietmar@ximian.com>
719
720         * x86/x86-codegen.h (x86_breakpoint): added.
721
722 Tue Sep 18 13:23:59 CEST 2001 Paolo Molaro <lupus@ximian.com>
723
724         * x86/x86-codegen.h: remove C++ comments.
725
726 2001-09-17  Dietmar Maurer  <dietmar@ximian.com>
727
728         * x86/x86-codegen.h (x86_alu_reg_reg): replaced src/dest
729
730 Mon Sep 10 17:26:06 CEST 2001 Paolo Molaro <lupus@ximian.com>
731
732         * Makefile.am, x86/Makefile.am: conditional compile logic
733         to make porting to different targets easier.
734
735 Fri Sep 7 18:43:06 CEST 2001 Paolo Molaro <lupus@ximian.com>
736
737         * x86/x86-codegen.h: fixes and x86_mov_membase_imm ().
738         * x86/tramp.c: implemented mono_create_method_pointer ():
739         creates a native pointer to a method implementation that can be 
740         used as a normal C callback.
741
742 Thu Sep 6 15:38:00 CEST 2001 Paolo Molaro <lupus@ximian.com>
743
744         * x86/x86-codegen.h: added x86_rdtsc() and fixes.
745         * x86/tramp.c: create trampolines to call pinvoke methods.
746         * x86/Makefile.am: create a libmonoarch convenience library.
747
748 Mon Aug 27 09:29:00 CEST 2001 Paolo Molaro <lupus@ximian.com>
749
750         * x86/x86-codegen.h: fix x86_call_code (). x86_mov_regp_reg () added.
751
752 Sat Aug 18 12:40:32 CEST 2001 Paolo Molaro <lupus@ximian.com>
753
754         * x86/x86-codegen.h: fix a couple of buglets and add x86_regp_emit().
755
756 Wed Aug 8 15:30:05 CEST 2001 Paolo Molaro <lupus@ximian.com>
757
758         * x86/x86-codegen.h, x86/test.c: added x86 code emitter with
759         test.
760