Author: Carl Friedrich Bolz <cfb...@gmx.de>
Branch: extradoc
Changeset: r4684:2f682997a506
Date: 2012-08-17 15:39 +0200
http://bitbucket.org/pypy/extradoc/changeset/2f682997a506/

Log:    merge

diff --git a/talk/dls2012/paper.tex b/talk/dls2012/paper.tex
--- a/talk/dls2012/paper.tex
+++ b/talk/dls2012/paper.tex
@@ -991,6 +991,11 @@
   depending on the class of it's input argument, $y$, while in C,
   there are three different implementations. In Lua there is no support for
   integers so only the floating point number is provided.
+  
+  XXX fix me: mikepall fijal, cfbolz: Also, sqrt(Fix16) is now a
+  meaningful result, but the text describing the benchmarks hasn't
+  changed.
+  
 \item {\bf conv3}$\left(n\right)$: one-dimensional convolution with fixed 
kernel-size $3$. A single loop
 is used to calculate a vector ${\bf b} = \left(b_1, \cdots, b_{n-2}\right)$ 
from a vector
 ${\bf a} = \left(a_1, \cdots, a_n\right)$ and a kernel ${\bf k} = \left(k_1, 
k_2, k_3\right)$ using 
diff --git a/talk/stm2012/stmimpl.rst b/talk/stm2012/stmimpl.rst
--- a/talk/stm2012/stmimpl.rst
+++ b/talk/stm2012/stmimpl.rst
@@ -350,6 +350,14 @@
             # update the original field
             R_Container->FieldName = R
 
+This last line is a violation of the rule that global objects are
+immutable.  It still works because it is only an optimization that will
+avoid some chain-walking in the future.  If two threads conflict in
+updating the same field to possibly different values, it is undefined
+what exactly occurs: other CPUs can see either the original or any of
+the modified values.  It works because the original and each modified
+value are all interchangeable as far as correctness goes.
+
 
 Committing
 ------------------------------------
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to