]> Cypherpunks repositories - gostls13.git/commit
[dev.power64] runtime: test CAS on large unsigned 32-bit numbers
authorAustin Clements <austin@google.com>
Thu, 30 Oct 2014 15:17:26 +0000 (11:17 -0400)
committerAustin Clements <austin@google.com>
Thu, 30 Oct 2014 15:17:26 +0000 (11:17 -0400)
commit36d417c0e380b8ea762812b415796cf4b0af72de
tree27e7ed7d548d9e04ebc1bb7820bde569a5cae98c
parent097362fd2e01735b25b79c71ba6005cd38f81da0
[dev.power64] runtime: test CAS on large unsigned 32-bit numbers

This adds a test to runtime·check to ensure CAS of large
unsigned 32-bit numbers does not accidentally sign-extend its
arguments.

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/162490044
src/runtime/runtime.c