X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fvm%2Fjit%2Fs390%2Fmd-asm.h;h=9cfd3ee5ee88001a6583f9c063b22038f0676eb7;hb=bfb7d15b502b8170ec8a9b348c546418c0e44ace;hp=271c0f7c316e3486f5428949841b0563733470c1;hpb=2457ad8bcdb80a1026380a158052aa91ad06651d;p=cacao.git diff --git a/src/vm/jit/s390/md-asm.h b/src/vm/jit/s390/md-asm.h index 271c0f7c3..9cfd3ee5e 100644 --- a/src/vm/jit/s390/md-asm.h +++ b/src/vm/jit/s390/md-asm.h @@ -28,7 +28,7 @@ Changes: - $Id: md-asm.h 7486 2007-03-08 13:50:07Z twisti $ + $Id: md-asm.h 7839 2007-04-29 22:46:56Z pm $ */ @@ -38,69 +38,6 @@ /* register defines ***********************************************************/ -#if 0 - -#define v0 %rax -#define v0l %eax -#define itmp1 v0 - -#define a3 %rcx -#define a2 %rdx - -#define t0 %rbx -#define t0l %ebx - -#define sp %rsp -#define s0 %rbp - -#define a1 %rsi -#define a0 %rdi -#define a0l %edi - -#define a4 %r8 -#define a5 %r9 - -#define itmp2 %r10 -#define itmp3 %r14 - -#define s1 %r12 -#define s2 %r13 -#define s3 %r14 -#define s4 %r15 - - -#define bp s0 - -#define itmp1l %eax -#define itmp2l %r10d -#define itmp3l %r11d - -#define xptr itmp1 -#define xpc itmp2 -#define mptr itmp2 - - -#define fa0 %xmm0 -#define fa1 %xmm1 -#define fa2 %xmm2 -#define fa3 %xmm3 -#define fa4 %xmm4 -#define fa5 %xmm5 -#define fa6 %xmm6 -#define fa7 %xmm7 - -#define ftmp1 %xmm8 -#define ftmp2 %xmm9 -#define ftmp3 %xmm10 - -#define ft0 %xmm11 -#define ft1 %xmm12 -#define ft2 %xmm13 -#define ft3 %xmm14 -#define ft4 %xmm15 - -#endif - #define a0 %r2 #define a1 %r3 #define a2 %r4 @@ -129,57 +66,6 @@ /* save and restore macros ****************************************************/ -#define SAVE_ARGUMENT_REGISTERS(off) \ - mov a0,(0+(off))*8(sp) ; \ - mov a1,(1+(off))*8(sp) ; \ - mov a2,(2+(off))*8(sp) ; \ - mov a3,(3+(off))*8(sp) ; \ - mov a4,(4+(off))*8(sp) ; \ - mov a5,(5+(off))*8(sp) ; \ - \ - movq fa0,(6+(off))*8(sp) ; \ - movq fa1,(7+(off))*8(sp) ; \ - movq fa2,(8+(off))*8(sp) ; \ - movq fa3,(9+(off))*8(sp) ; \ - movq fa4,(10+(off))*8(sp) ; \ - movq fa5,(11+(off))*8(sp) ; \ - movq fa6,(12+(off))*8(sp) ; \ - movq fa7,(13+(off))*8(sp) ; - - -#define RESTORE_ARGUMENT_REGISTERS(off) \ - mov (0+(off))*8(sp),a0 ; \ - mov (1+(off))*8(sp),a1 ; \ - mov (2+(off))*8(sp),a2 ; \ - mov (3+(off))*8(sp),a3 ; \ - mov (4+(off))*8(sp),a4 ; \ - mov (5+(off))*8(sp),a5 ; \ - \ - movq (6+(off))*8(sp),fa0 ; \ - movq (7+(off))*8(sp),fa1 ; \ - movq (8+(off))*8(sp),fa2 ; \ - movq (9+(off))*8(sp),fa3 ; \ - movq (10+(off))*8(sp),fa4 ; \ - movq (11+(off))*8(sp),fa5 ; \ - movq (12+(off))*8(sp),fa6 ; \ - movq (13+(off))*8(sp),fa7 ; - - -#define SAVE_TEMPORARY_REGISTERS(off) \ - mov t0,(0+(off))*8(sp) ; \ - movq ft0,(1+(off))*8(sp) ; \ - movq ft1,(2+(off))*8(sp) ; \ - movq ft2,(3+(off))*8(sp) ; \ - movq ft3,(4+(off))*8(sp) ; - - -#define RESTORE_TEMPORARY_REGISTERS(off) \ - mov (0+(off))*8(sp),t0 ; \ - movq (1+(off))*8(sp),ft0 ; \ - movq (2+(off))*8(sp),ft1 ; \ - movq (3+(off))*8(sp),ft2 ; \ - movq (4+(off))*8(sp),ft3 ; - /* Volatile float registers (all volatile in terms of C abi) */ #define LOAD_STORE_VOLATILE_FLOAT_REGISTERS(inst, off) \