[RTEMS Project] #2805: Use SPRG0 on PowerPC for current per-CPU control (SMP only)
RTEMS trac
trac at rtems.org
Thu Nov 10 09:00:57 UTC 2016
#2805: Use SPRG0 on PowerPC for current per-CPU control (SMP only)
-----------------------------+------------------------------
Reporter: sebastian.huber | Owner: sebastian.huber
Type: enhancement | Status: new
Priority: normal | Milestone: 4.12
Component: SMP | Version: 4.12
Severity: normal | Resolution:
Keywords: |
-----------------------------+------------------------------
Comment (by Sebastian Huber <sebastian.huber@…>):
In [changeset:"38a1449fd47be848cc40593abd40262e9ad2030d/rtems"]:
{{{
#!CommitTicketReference repository="rtems"
revision="38a1449fd47be848cc40593abd40262e9ad2030d"
powerpc: Add _CPU_Get_current_per_CPU_control()
Add _CPU_Get_current_per_CPU_control() on SMP configurations. Use SPRG0
for the current per-CPU control. This reduces the code size by three
instructions and is slightly faster.
Update #2805.
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/2805#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list