1
0
mirror of https://github.com/golang/go synced 2024-11-18 18:04:46 -07:00
go/src
Ian Lance Taylor e65c0a82ce runtime: use new CNT_MASK in lfstack
This is for SPARC64, a 64-bit processor that uses all 64-bits
of virtual addresses.  The idea is to use the low order 3 bits
to at least get a small ABA counter.  That should work since
pointers are aligned.  The idea is for SPARC64 to set CNT_MASK
== 7, PTR_BITS == 0, PTR_MASK == 0xffffffffffffff8.

Also add uintptr casts to avoid GCC warnings.  The gccgo
runtime code is compiled with GCC, and GCC warns when casting
between a pointer and a type of a different size.

R=dvyukov
CC=golang-dev
https://golang.org/cl/7225043
2013-01-26 18:16:43 -08:00
..
cmd cmd/go: add missing tests 2013-01-25 23:07:21 -05:00
lib9 lib9: declare __fixargv0 before use in flag.c 2013-01-22 17:23:36 -05:00
libbio
libmach cmd/ld: use native-endian symbol values in symbol table 2013-01-04 17:03:57 -05:00
pkg runtime: use new CNT_MASK in lfstack 2013-01-26 18:16:43 -08:00
all.bash
all.bat
all.rc
clean.bash
clean.bat
clean.rc
make.bash cmd/dist: support building on debian/kFreeBSD 2012-12-04 08:27:30 +11:00
make.bat
Make.dist
make.rc
run.bash run.bash: fix linux/arm build 2012-11-15 13:59:46 +11:00
run.bat run.{bash,bat,rc}: unset GOMAXPROCS before ../test 2012-11-15 11:40:10 +11:00
run.rc run.{bash,bat,rc}: unset GOMAXPROCS before ../test 2012-11-15 11:40:10 +11:00
sudo.bash sudo.bash: diagnose when the go tool is not in $PATH 2012-11-15 10:42:39 -08:00