instruction).
* mono/mini/mini-s390.h: Simplify MCONTEXT_GET_BP.
* mono/io-layer/ChangeLog: Move comment from mono/mini
* mono/mini/ChangeLog: Correct comments
svn path=/trunk/mono/; revision=61603
+2006-06-09 Neale Ferguson <neale@sinenomine.net>
+
+ * atomic.h: Fix atomic operations for s390x (not really broken
+ but changed to use full 64-bit opcodes).
+
2006-05-24 Dick Porter <dick@ximian.com>
* processes.c (process_set_current): Don't take an extra reference
2006-06-09 Neale Ferguson <neale@sinenomine.net>
* mini-exceptions.c (ves_icall_get_frame_info): Fix this function on s390/s390x.
- * mono/io-layer/atomic.h: Fix atomic operations for s390x (not really broken
- but changed to use full 64-bit opcodes).
- * mono/mini/mini-s390x.c: Correct ATOMIC operations (incorrect register for CS
+ * mini-s390x.c, mini-s390.c: Correct ATOMIC operations (incorrect register for CS
instruction).
- * mono/mini/mini-s390x.h: Simplify MCONTEXT_GET_BP.
- * mono/mini/cpu-s390x.md: Fix max. length values for a couple of instructions.
+ * mini-s390x.h, mini-s390.h: Simplify MCONTEXT_GET_BP.
+ * cpu-s390x.md: Fix max. length values for a couple of instructions.
2006-06-09 Jonathan Chambers <jonathan.chambers@ansys.com>
s390_lr (code, s390_r1, ins->sreg2);
s390_l (code, s390_r0, 0, ins->inst_basereg, ins->inst_offset);
s390_a (code, s390_r1, 0, ins->inst_basereg, ins->inst_offset);
- s390_cs (code, s390_r0, s390_r0, ins->inst_basereg, ins->inst_offset);
+ s390_cs (code, s390_r0, s390_r1, ins->inst_basereg, ins->inst_offset);
s390_jnz (code, -7);
s390_lr (code, ins->dreg, s390_r1);
}
#define MONO_INIT_CONTEXT_FROM_FUNC(ctx,func) do { \
MonoS390StackFrame *sframe; \
- __asm__ volatile("l %0,0(15)" : "=r" (sframe)); \
+ __asm__ volatile("lr %0,15" : "=r" (sframe)); \
MONO_CONTEXT_SET_BP ((ctx), sframe->prev); \
sframe = (MonoS390StackFrame*)sframe->prev; \
MONO_CONTEXT_SET_IP ((ctx), sframe->return_address); \