Changeset 59a0541c in rtems


Ignore:
Timestamp:
07/12/18 07:15:55 (5 years ago)
Author:
Daniel Cederman <cederman@…>
Branches:
5, master
Children:
a87964d
Parents:
6695d02
git-author:
Daniel Cederman <cederman@…> (07/12/18 07:15:55)
git-committer:
Daniel Hellstrom <daniel@…> (08/24/18 13:51:38)
Message:

sparc: Restore npc when returning from the syscall_lazy_fp_switch trap

If the floating point trap occurred in a delay slot it is not certain
that npc will be equal to pc + 4.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/sparc/syscall.S

    r6695d02 r59a0541c  
    246246        /* Now, retry the floating point instruction with PSR[EF] == 1 */
    247247        jmp     %l1
    248          rett   %l1 + 4
     248         rett   %l2
    249249
    250250.Lillegal_use_of_floating_point_unit:
Note: See TracChangeset for help on using the changeset viewer.