[RTEMS Project] #2369: [PowerPC Book E] Invalid mftb instruction in _CPU_Counter_read()

RTEMS trac trac at rtems.org
Tue Jul 14 06:28:03 UTC 2015


#2369: [PowerPC Book E] Invalid mftb instruction in _CPU_Counter_read()
--------------------------+---------------------
 Reporter:  nick.withers  |       Owner:
     Type:  defect        |      Status:  new
 Priority:  normal        |   Milestone:  4.11.1
Component:  General       |     Version:  4.11
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+---------------------

Comment (by sebastian.huber):

 We can still use your original patch and use the SPR 268.  I don't care
 that much about the legacy PowerPCs that lack this register.  Some of the
 newer cores for automotive chips don't have a time base at all, but this
 is a different issue.

 For e500 you have the following options

 1. soft-float (-msoft-float -mno-spe),
 2. SPE with 32-bit float (-mspe -mabi=spe -mfloat-gprs=single_, and
 3. SPE with 64-bit float (e500v2, -mspe -mabi=spe -mfloat-gprs=double).

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


More information about the bugs mailing list