#833 closed defect (fixed)

PPC BSPs must not enable FPU across user ISR

Reported by: strauman Owned by: Joel Sherrill
Priority: highest Milestone: 2
Component: bsps Version: 4.6
Severity: critical Keywords:
Cc: bugs@…, strauman@… Blocked By:


Currently, all ('new exception') BSPs explicitely enable the FPU across the user ISR but DONT save/restore the FPU context.
Any use of the FPU fron the user handler (e.g., due to GCC optimizations) result in corruption. The fix results in an exception in such cases (user ISR must explicitely save/enable/restore FPU.)

NOTE: patch needs to be applied to ALL BSPs featuring their
own version of irq_asm.S [ verify that the same registers are used! ]


Attachments (1)

ppc-no-fp-ena-isr.diff (2.1 KB) - added by strauman on Dec 3, 2006 at 1:31:12 PM.

Download all attachments as: .zip

Change History (2)

comment:1 Changed on Oct 6, 2005 at 2:01:35 AM by strauman

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: Redundant PR; refer to 774

Changed on Dec 3, 2006 at 1:31:12 PM by strauman

Attachment: ppc-no-fp-ena-isr.diff added


Note: See TracTickets for help on using tickets.