#2651 closed defect (fixed)

Corruption of register %o5 in window underflow trap handler

Reported by: Sebastian Huber Owned by: Daniel Hellstrom
Priority: normal Milestone: 4.11
Component: score Version: 4.11
Severity: critical Keywords:
Cc: Blocked By:
Blocking:

Description

The window underflow trap handler uses %i5 which destroys %o5 of the calling context.

Bug introduced by [0d3b5d47429effb350448d9e9123a67db722109f/rtems].

Change History (2)

comment:1 Changed on Mar 17, 2016 at 10:12:44 AM by Daniel Hellstrom <daniel@…>

In 6c4aaf4f3167a9ca2eb2b1ae9b87381a03cb8aa1/rtems:

sparc: Fix window underflow trap handler

The window underflow trap handler used %i5 which destroyed the %o5 of
the calling context. Bug introduced by
0d3b5d47429effb350448d9e9123a67db722109f.

Go back to the pre 0d3b5d47429effb350448d9e9123a67db722109f behaviour
and use the two unused instructions in the trap vector to optimize a
bit.

Update #2651.

comment:2 Changed on Mar 24, 2016 at 6:41:17 AM by Daniel Hellstrom <daniel@…>

Resolution: fixed
Status: newclosed

In 33de2037f6007f6adf90514dbc98158a473476fc/rtems:

sparc: Fix window underflow trap handler

The window underflow trap handler used %i5 which destroyed the %o5 of
the calling context. Bug introduced by
0d3b5d47429effb350448d9e9123a67db722109f.

Go back to the pre 0d3b5d47429effb350448d9e9123a67db722109f behaviour
and use the two unused instructions in the trap vector to optimize a
bit.

Close #2651.

Note: See TracTickets for help on using tickets.