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