]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: enable racewalk of HMUL nodes.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Tue, 26 Mar 2013 22:35:42 +0000 (23:35 +0100)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Tue, 26 Mar 2013 22:35:42 +0000 (23:35 +0100)
commit5f9a9433ea5f3e933d9950994edaf45c36a92ffb
treea233418e9c2b60297577e48a221872da3b2ab14f
parent24c2c88b9084acbd6316aa71cf855646a582ee03
cmd/gc: enable racewalk of HMUL nodes.

A HMUL node appears in some constant divisions, but
to observe a false negative in race detector the divisor must be
suitably chosen to make sure the only memory access is
done for HMUL.

R=dvyukov
CC=golang-dev
https://golang.org/cl/7935045
src/cmd/gc/racewalk.c
src/pkg/runtime/race/testdata/mop_test.go