[rtems commit] score: Avoid superfluous loads
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Nov 22 16:22:24 UTC 2012
On 11/22/2012 05:00 PM, Joel Sherrill wrote:
> Is this working around poor optimization?
This works around the poor usage of volatile qualifiers.
> Should we ban increment/decrement on memory?
No, the problem is the volatile. In the future we should remove it from
_Thread_Dispatch_disable_level and _Thread_Dispatch_necessary.
--
Sebastian Huber, embedded brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list