[Mono-bugs] [Bug 74639][Nor] Changed - instruction sync needed for atomic.h on ppc

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 16 Apr 2005 18:32:56 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by mass@akuma.org.

http://bugzilla.ximian.com/show_bug.cgi?id=74639

--- shadow/74639	2005-04-16 18:26:12.000000000 -0400
+++ shadow/74639.tmp.25719	2005-04-16 18:32:56.000000000 -0400
@@ -23,6 +23,11 @@
 well as addition of an isync call at the end of all the assembly routines.
 
 I believe this isync is neccessary - while the __volatile__ marker will prevent the assembly block 
 from being reordered with respect to other code by the compiler, the processor itself may still 
 reorder the execution of the instructions, for example executing branch prediction around the value 
 read from a refcount before that value has been successfully written to memory.
+
+------- Additional Comments From mass@akuma.org  2005-04-16 18:32 -------
+Created an attachment (id=14954)
+recommended changes
+