direct-io.hg

changeset 12421:5ebc7ee315cc

[IA64] fix rsc save/restore

mode_flags is int type, so we should use ld4 & st4

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
author awilliam@xenbuild.aw
date Thu Nov 02 12:40:44 2006 -0700 (2006-11-02)
parents 2fe5df7670cf
children 11b718eb22c9
files xen/arch/ia64/vmx/optvfault.S
line diff
     1.1 --- a/xen/arch/ia64/vmx/optvfault.S	Thu Nov 02 12:39:04 2006 -0700
     1.2 +++ b/xen/arch/ia64/vmx/optvfault.S	Thu Nov 02 12:40:44 2006 -0700
     1.3 @@ -177,7 +177,7 @@ GLOBAL_ENTRY(vmx_asm_rsm)
     1.4      ;;
     1.5      ld8 r18=[r17]
     1.6      movl r28=IA64_PSR_IC+IA64_PSR_I+IA64_PSR_DT+IA64_PSR_SI
     1.7 -    ld8 r23=[r22]
     1.8 +    ld4 r23=[r22]
     1.9      sub r27=-1,r26
    1.10      mov r24=b0
    1.11      ;;
    1.12 @@ -200,7 +200,7 @@ GLOBAL_ENTRY(vmx_asm_rsm)
    1.13      ;;
    1.14      ld8 r26=[r26]
    1.15      ld8 r27=[r27]
    1.16 -    st8 [r22]=r23
    1.17 +    st4 [r22]=r23
    1.18      dep.z r28=4,61,3
    1.19      ;;
    1.20      mov rr[r0]=r26
    1.21 @@ -232,7 +232,7 @@ GLOBAL_ENTRY(vmx_asm_ssm)
    1.22      mov r20=cr.ipsr
    1.23      or r19=r29,r26
    1.24      ;;
    1.25 -    ld8 r23=[r22]
    1.26 +    ld4 r23=[r22]
    1.27      st8 [r27]=r19
    1.28      or r20=r20,r26
    1.29      ;;
    1.30 @@ -251,7 +251,7 @@ GLOBAL_ENTRY(vmx_asm_ssm)
    1.31      ;;
    1.32      ld8 r26=[r26]
    1.33      ld8 r27=[r27]
    1.34 -    st8 [r22]=r23
    1.35 +    st4 [r22]=r23
    1.36      dep.z r28=4,61,3
    1.37      ;;
    1.38      mov rr[r0]=r26
    1.39 @@ -306,7 +306,7 @@ vmx_asm_mov_to_psr_back:
    1.40      add r22=IA64_VCPU_MODE_FLAGS_OFFSET,r21
    1.41      dep r19=0,r19,32,32
    1.42      ;;   
    1.43 -    ld8 r23=[r22]
    1.44 +    ld4 r23=[r22]
    1.45      dep r18=0,r17,0,32
    1.46      ;; 
    1.47      add r30=r18,r19
    1.48 @@ -332,7 +332,7 @@ vmx_asm_mov_to_psr_back:
    1.49      ;;
    1.50      ld8 r26=[r26]
    1.51      ld8 r27=[r27]
    1.52 -    st8 [r22]=r23
    1.53 +    st4 [r22]=r23
    1.54      dep.z r28=4,61,3
    1.55      ;;
    1.56      mov rr[r0]=r26