[RTEMS Project] #2270: SPARC: Optimized floating-point context handling

RTEMS trac trac at rtems.org
Tue Feb 17 21:43:54 UTC 2015


#2270: SPARC: Optimized floating-point context handling
-----------------------------+------------------------------
 Reporter:  sebastian.huber  |       Owner:  sebastian.huber
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  4.11.1
Component:  cpukit           |     Version:  4.11
 Severity:  normal           |  Resolution:
 Keywords:  SPARC            |
-----------------------------+------------------------------

Comment (by chrisj):

 Replying to [comment:1 gedare]:
 > This only works if gcc does not emit fp code though. If a user needs fp
 in isr context, they can do the save/restore manually?

 If the PSR[EF] is disabled in interrupts the presence of fp code should
 trigger an exception so the user is notified. A user should have suitable
 coverage analysis to know they have tested their code.

 What happens when fp code is present ? What if the compiler has changed,
 or code they need now contains fp instructions ?

 Would providing an option in the OS to support in a tested and controller
 manner the save/restore instructions ?

--
Ticket URL: <http://devel.rtems.org/ticket/2270#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list