Changeset 58775d30 in mainline for kernel/arch/ppc32/src/fpu_context.S


Ignore:
Timestamp:
2015-03-16T16:07:21Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2003739
Parents:
6069061 (diff), 795e2bf (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ppc32/src/fpu_context.S

    r6069061 r58775d30  
    119119fpu_context_restore:
    120120        lfd fr0, FPU_CONTEXT_OFFSET_FPSCR(r3)
    121         mtfsf 7, fr0
    122 
     121        mtfsf 0xff, fr0
     122       
    123123        FPU_CONTEXT_LOAD r3
    124124       
     
    128128        mfmsr r0
    129129        ori r0, r0, MSR_FP
    130 
     130       
    131131        # Disable FPU exceptions
    132132        li r3, MSR_FE0 | MSR_FE1
    133133        andc r0, r0, r3
    134 
     134       
    135135        mtmsr r0
     136        isync
     137       
    136138        blr
    137139
     
    140142        ori r0, r0, MSR_FP
    141143        mtmsr r0
     144        isync
    142145        blr
    143146
     
    147150        andc r0, r0, r3
    148151        mtmsr r0
     152        isync
    149153        blr
    150 
Note: See TracChangeset for help on using the changeset viewer.