Rev 982 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 982 | Rev 1007 | ||
---|---|---|---|
Line 78... | Line 78... | ||
78 | lfd fr30, OFFSET_FR30(\r) |
78 | lfd fr30, OFFSET_FR30(\r) |
79 | lfd fr31, OFFSET_FR31(\r) |
79 | lfd fr31, OFFSET_FR31(\r) |
80 | .endm |
80 | .endm |
81 | 81 | ||
82 | fpu_context_save: |
82 | fpu_context_save: |
83 | FPU_CONTEXT_STORE r3 |
83 | // FPU_CONTEXT_STORE r3 |
84 | 84 | // |
|
85 | mffs fr0 |
85 | // mffs fr0 |
86 | stfd fr0, OFFSET_FPSCR(r3) |
86 | // stfd fr0, OFFSET_FPSCR(r3) |
87 | 87 | ||
88 | blr |
88 | blr |
89 | 89 | ||
90 | fpu_context_restore: |
90 | fpu_context_restore: |
91 | FPU_CONTEXT_LOAD r3 |
91 | // FPU_CONTEXT_LOAD r3 |
92 | 92 | // |
|
93 | lfd fr0, OFFSET_FPSCR(r3) |
93 | // lfd fr0, OFFSET_FPSCR(r3) |
94 | mtfsf 7, fr0 |
94 | // mtfsf 7, fr0 |
95 | 95 | ||
96 | blr |
96 | blr |
97 | 97 | ||
98 | fpu_init: |
98 | fpu_init: |
99 | blr |
99 | blr |