[Mono-devel-list] more ppc atomic.h cleanups

David Waite dwaite at gmail.com
Wed Apr 13 14:31:50 EDT 2005


Attached is a patch that performs cleanups of atomic.h for the ppc architecture:

* InterlockedIncrement, InterlockedDecrement: use one fewer register,
avoid initialization and remove extra addition/subtraction at the end
* InterlockedExchange: remove tmp initialization, rename tmp to result
to be consistant with other methods

-David Waite
-------------- next part --------------
A non-text attachment was scrubbed...
Name: atomic-ppc-cleanups.diff
Type: application/octet-stream
Size: 1730 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050413/c6e82278/attachment.obj 


More information about the Mono-devel-list mailing list