Rev 860 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 860 | Rev 982 | ||
---|---|---|---|
Line 31... | Line 31... | ||
31 | 31 | ||
32 | .text |
32 | .text |
33 | 33 | ||
34 | .global fpu_context_save |
34 | .global fpu_context_save |
35 | .global fpu_context_restore |
35 | .global fpu_context_restore |
- | 36 | .global fpu_init |
|
- | 37 | .global fpu_enable |
|
- | 38 | .global fpu_disable |
|
36 | 39 | ||
37 | .macro FPU_CONTEXT_STORE r |
40 | .macro FPU_CONTEXT_STORE r |
38 | stfd fr14, OFFSET_FR14(\r) |
41 | stfd fr14, OFFSET_FR14(\r) |
39 | stfd fr15, OFFSET_FR15(\r) |
42 | stfd fr15, OFFSET_FR15(\r) |
40 | stfd fr16, OFFSET_FR16(\r) |
43 | stfd fr16, OFFSET_FR16(\r) |
Line 89... | Line 92... | ||
89 | 92 | ||
90 | lfd fr0, OFFSET_FPSCR(r3) |
93 | lfd fr0, OFFSET_FPSCR(r3) |
91 | mtfsf 7, fr0 |
94 | mtfsf 7, fr0 |
92 | 95 | ||
93 | blr |
96 | blr |
- | 97 | ||
- | 98 | fpu_init: |
|
- | 99 | blr |
|
- | 100 | ||
- | 101 | fpu_enable: |
|
- | 102 | blr |
|
- | 103 | ||
- | 104 | fpu_disable: |
|
- | 105 | blr |