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

RTEMS trac trac at rtems.org
Thu Feb 19 14:15:35 UTC 2015


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

Comment (by claudiodcsilva):

 I guess 2) is an overkill. In 1), if you really need to have FP, you can
 try to use soft-fp. It will make your WCET "worse", but it should be
 better than having to context switch FP registers in every interrupt.
 Anyway, you are always in risk of GCC emitting FP instructions within
 RTEMS' code, but since you have PSR[EF] disabled you can easily trace the
 fault/trap.
 Between 1) and 3), 1) is more simple. Besides, I think the worst case
 behaviour will be similar between these two options.

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


More information about the bugs mailing list