Changeset 58775d30 in mainline for kernel/arch/ppc32/src/fpu_context.S
- Timestamp:
- 2015-03-16T16:07:21Z (10 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/src/fpu_context.S
r6069061 r58775d30 119 119 fpu_context_restore: 120 120 lfd fr0, FPU_CONTEXT_OFFSET_FPSCR(r3) 121 mtfsf 7, fr0122 121 mtfsf 0xff, fr0 122 123 123 FPU_CONTEXT_LOAD r3 124 124 … … 128 128 mfmsr r0 129 129 ori r0, r0, MSR_FP 130 130 131 131 # Disable FPU exceptions 132 132 li r3, MSR_FE0 | MSR_FE1 133 133 andc r0, r0, r3 134 134 135 135 mtmsr r0 136 isync 137 136 138 blr 137 139 … … 140 142 ori r0, r0, MSR_FP 141 143 mtmsr r0 144 isync 142 145 blr 143 146 … … 147 150 andc r0, r0, r3 148 151 mtmsr r0 152 isync 149 153 blr 150
Note:
See TracChangeset
for help on using the changeset viewer.