]>
Cypherpunks repositories - gostls13.git/log
Russ Cox [Thu, 14 Aug 2014 20:34:28 +0000 (16:34 -0400)]
[dev.power64] runtime: fix RuntimeGogoBytes on power64
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
130030043
Russ Cox [Thu, 14 Aug 2014 19:29:37 +0000 (15:29 -0400)]
[dev.power64] cmd/ld, runtime: detect, fix nosplit overflows
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
121690043
Russ Cox [Thu, 14 Aug 2014 19:29:05 +0000 (15:29 -0400)]
[dev.power64] syscall: fix power64 page size
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
128260043
Russ Cox [Thu, 14 Aug 2014 18:35:00 +0000 (14:35 -0400)]
[dev.power64] reflect: fix test not to hang even if TrySend lies
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
124360043
Russ Cox [Thu, 14 Aug 2014 18:34:48 +0000 (14:34 -0400)]
[dev.power64] cmd/dist: tell goc2c that power64 is 64-bit system
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
125300043
Russ Cox [Thu, 14 Aug 2014 18:34:37 +0000 (14:34 -0400)]
[dev.power64] cmd/9g: correct floating point comparison
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
129210043
Russ Cox [Thu, 14 Aug 2014 18:34:25 +0000 (14:34 -0400)]
[dev.power64] runtime: replace getproccount with simpler code
This runs once. There is no need for inscrutable algorithms.
Also it doesn't compile correctly with 9c.
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
130000043
Russ Cox [Thu, 14 Aug 2014 18:34:14 +0000 (14:34 -0400)]
[dev.power64] cmd/9c: fix constant truncation in optimizer
This is what broke getpopcount, but that code had it coming.
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
130000044
Shenghou Ma [Thu, 14 Aug 2014 17:59:58 +0000 (13:59 -0400)]
[dev.power64] test/nosplit.go: add power64 support
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
125210043
Shenghou Ma [Thu, 14 Aug 2014 16:01:27 +0000 (12:01 -0400)]
[dev.power64] runtime: don't fault on runtime.procyield, just return
LGTM=dave, rsc
R=rsc, iant, dave
CC=golang-codereviews
https://golang.org/cl/
128230044
Shenghou Ma [Thu, 14 Aug 2014 16:01:21 +0000 (12:01 -0400)]
[dev.power64] syscall: re-generate using cgo compiled by gc, fix test failures
LGTM=dave, rsc
R=rsc, iant, dave
CC=golang-codereviews
https://golang.org/cl/
127320043
Shenghou Ma [Thu, 14 Aug 2014 16:01:14 +0000 (12:01 -0400)]
[dev.power64] runtime: add power64/power64le as supported arch to gcinfo_test.go
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
122560043
Shenghou Ma [Thu, 14 Aug 2014 15:59:58 +0000 (11:59 -0400)]
[dev.power64] runtime: fix time.now
Was reading a uint64 field with a MOVW, which has endian issues.
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
122550043
Shenghou Ma [Thu, 14 Aug 2014 15:59:52 +0000 (11:59 -0400)]
[dev.power64] reflect: now we find one big endian machine
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
124350043
Russ Cox [Thu, 14 Aug 2014 15:57:10 +0000 (11:57 -0400)]
[dev.power64] liblink: fix $large(SP) for floating point load/store
Fixes test/cmplxdivide.
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
128190045
Russ Cox [Wed, 13 Aug 2014 22:32:54 +0000 (18:32 -0400)]
[dev.power64] liblink: fix handling of $nnn(reg)
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
126180043
Russ Cox [Wed, 13 Aug 2014 22:14:13 +0000 (18:14 -0400)]
[dev.power64] liblink: fix handling of MOVD with large constants
LGTM=minux
R=golang-codereviews, minux
CC=golang-codereviews
https://golang.org/cl/
122540043
Russ Cox [Wed, 13 Aug 2014 20:26:43 +0000 (16:26 -0400)]
[dev.power64] runtime: fix reflect.call
The code to copy out the results was incorrect.
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
122530043
Russ Cox [Wed, 13 Aug 2014 19:50:06 +0000 (15:50 -0400)]
[dev.power64] runtime: fix C prototype for cmallocgc
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
122520043
Russ Cox [Wed, 13 Aug 2014 19:49:19 +0000 (15:49 -0400)]
[dev.power64] cmd/9g: fix floating-point comparison for NaN
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
127300043
Shenghou Ma [Wed, 13 Aug 2014 19:49:07 +0000 (15:49 -0400)]
[dev.power64] cmd/9g: add missing break
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
125260043
Shenghou Ma [Wed, 13 Aug 2014 18:52:11 +0000 (14:52 -0400)]
[dev.power64] runtime: fix build
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
128180044
Russ Cox [Wed, 13 Aug 2014 18:52:01 +0000 (14:52 -0400)]
[dev.power64] runtime: fix newstackcall
moreframesize is a uint32, not a uint64.
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
124310043
Russ Cox [Wed, 13 Aug 2014 18:36:29 +0000 (14:36 -0400)]
[dev.power64] cmd/9l, math/big, runtime, syscall: fixes for power64
On the machine I'm using, the hardware page size seems to be 64 kB.
Make ELF rounding and mmap quantum 64 kB to match.
Error numbers returned from kernel are positive; do not negate.
Implement stubs for math/big.
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
124300043
Shenghou Ma [Wed, 13 Aug 2014 15:39:07 +0000 (11:39 -0400)]
[dev.power64] cmd/9g: do not ignore move instructions even if from and to are samaddr()
Those moves might be significant (e.g. narrowing or widening): on Power64,
we don't distinguish between MOVWD and MOVW.
This fixes divmode.go and bug447.go.
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
125200043
Shenghou Ma [Wed, 13 Aug 2014 05:23:00 +0000 (01:23 -0400)]
[dev.power64] runtime: switch back to old initial stack size, and disable debugging messages for rewindmorestack
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
129850044
Shenghou Ma [Wed, 13 Aug 2014 05:22:47 +0000 (01:22 -0400)]
[dev.power64] liblink: rewrite MOVD $con(Ra), Rb into ADD $con, Ra, Rb; fix stack split prologue
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
129050043
Shenghou Ma [Wed, 13 Aug 2014 05:22:34 +0000 (01:22 -0400)]
[dev.power64] cmd/9g: use loops to do memmove in sgen()
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
128130044
Shenghou Ma [Wed, 13 Aug 2014 05:22:21 +0000 (01:22 -0400)]
[dev.power64] cmd/cc: round argsize to multiples of wordsize on power64
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
121640043
Shenghou Ma [Wed, 13 Aug 2014 03:57:42 +0000 (23:57 -0400)]
[dev.power64] runtime: fix morestack
Must not save LR.
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
129040044
Shenghou Ma [Wed, 13 Aug 2014 03:57:02 +0000 (23:57 -0400)]
[dev.power64] cmd/9g: introduce ginscon2 for CMP/CMPU, use ginscon to ADD constants
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
125170043
Shenghou Ma [Wed, 13 Aug 2014 02:28:25 +0000 (22:28 -0400)]
[dev.power64] runtime: disable GC and use a larger default stack
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
128120043
Shenghou Ma [Wed, 13 Aug 2014 02:25:43 +0000 (22:25 -0400)]
[dev.power64] cmd/9g: clear p->reg for ATEXT
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
125150043
Shenghou Ma [Wed, 13 Aug 2014 02:07:15 +0000 (22:07 -0400)]
[dev.power64] cmd/gc: disable magic multiply optimizations for now
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
126110043
Shenghou Ma [Wed, 13 Aug 2014 01:56:20 +0000 (21:56 -0400)]
[dev.power64] liblink: disable stack split for now
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
122460043
Shenghou Ma [Wed, 13 Aug 2014 01:55:43 +0000 (21:55 -0400)]
[dev.power64] runtime: implemnt runtime.switchtoM and runtime.onM
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
129860043
Shenghou Ma [Wed, 13 Aug 2014 01:43:31 +0000 (21:43 -0400)]
[dev.power64] reflect: add assembly stubs
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
126090043
Russ Cox [Wed, 13 Aug 2014 01:41:42 +0000 (21:41 -0400)]
[dev.power64] cmd/9a: use new flag parser
Copy main from 6a. Fixes various things, but the
main thing is the use of the new flag parser.
The go command expects to be able to use -trimpath
and not have it be interpreted as -t rimpath.
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
126100043
Russ Cox [Wed, 13 Aug 2014 01:38:50 +0000 (21:38 -0400)]
[dev.power64] hash/crc32: use portable castagnoli on power64
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
128110044
Shenghou Ma [Wed, 13 Aug 2014 01:22:27 +0000 (21:22 -0400)]
[dev.power64] cmd/9g, cmd/gc, cmd/ld: fix build.
1. disable nonsplit stack overflow check
2. disable OLROT recognition
3. emit correct instructions for adding offsets to an address
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
123310043
Shenghou Ma [Wed, 13 Aug 2014 00:58:05 +0000 (20:58 -0400)]
[dev.power64] cmd/9c: fix endian issue in integer to floating point conversion
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
129850043
Shenghou Ma [Wed, 13 Aug 2014 00:57:54 +0000 (20:57 -0400)]
[dev.power64] cmd/9l: remove MAXIO (fix build)
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
124270043
Shenghou Ma [Wed, 13 Aug 2014 00:57:45 +0000 (20:57 -0400)]
[dev.power64] liblink: support stack split, long conditional branches
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
123300043
Shenghou Ma [Wed, 13 Aug 2014 00:57:32 +0000 (20:57 -0400)]
[dev.power64] cmd/gc: handle thechar=='9', disable nilopt() for now
LGTM=rsc
R=rsc, iant, dave
CC=golang-codereviews
https://golang.org/cl/
121630043
Shenghou Ma [Tue, 12 Aug 2014 23:51:01 +0000 (19:51 -0400)]
[dev.power64] cmd/9g: implement zerorange
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
121540043
Shenghou Ma [Tue, 12 Aug 2014 23:50:51 +0000 (19:50 -0400)]
[dev.power64] sync/atomic: implement for asm_power64x.s
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
124220043
Shenghou Ma [Tue, 12 Aug 2014 23:50:40 +0000 (19:50 -0400)]
[dev.power64] math: implement Abs, add power64/power64le forwarding assembly functions
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
119670043
Shenghou Ma [Tue, 12 Aug 2014 23:50:30 +0000 (19:50 -0400)]
[dev.power64] runtime: add defs3_linux.go to generate defs_linux_power64{,le}.h
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
128070043
Shenghou Ma [Tue, 12 Aug 2014 23:50:18 +0000 (19:50 -0400)]
[dev.power64] runtime: auto-generated headers for linux/power64 and linux/power64le
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
123280043
Shenghou Ma [Tue, 12 Aug 2014 23:50:03 +0000 (19:50 -0400)]
[dev.power64] runtime: move noasm_arm.goc to noasm.goc
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
121590043
Shenghou Ma [Tue, 12 Aug 2014 23:49:52 +0000 (19:49 -0400)]
[dev.power64] runtime: changes to the portable part for linux/power64 and linux/power64le
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
121580044
Shenghou Ma [Tue, 12 Aug 2014 23:49:41 +0000 (19:49 -0400)]
[dev.power64] os/signal: support for linux/power64 and linux/power64le
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
121580043
Shenghou Ma [Tue, 12 Aug 2014 23:49:31 +0000 (19:49 -0400)]
[dev.power64] syscall: script changes for power64
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
123290043
Shenghou Ma [Tue, 12 Aug 2014 23:49:18 +0000 (19:49 -0400)]
[dev.power64] syscall: auto-generated source for linux/power64 and linux/power64le.
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
127170043
Shenghou Ma [Tue, 12 Aug 2014 23:49:03 +0000 (19:49 -0400)]
[dev.power64] syscall: the manually written parts for linux/power64 and linux/power64le
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
129800043
Shenghou Ma [Tue, 12 Aug 2014 23:48:49 +0000 (19:48 -0400)]
[dev.power64] runtime: manually written parts for linux/power64 and linux/power64le, checkpoint
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
122430043
Shenghou Ma [Tue, 12 Aug 2014 03:44:55 +0000 (23:44 -0400)]
[dev.power64] cmd/9g: first check point
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
123170043
Shenghou Ma [Tue, 12 Aug 2014 03:44:38 +0000 (23:44 -0400)]
[dev.power64] cmd/9l/9.out.h: introduce NFREG, REGG, REGRT1 and REGRT2
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
125990043
Shenghou Ma [Tue, 12 Aug 2014 03:44:23 +0000 (23:44 -0400)]
[dev.power64] cmd/9l: introduce the power64 linker, based loosely on 5l
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
123940043
Shenghou Ma [Tue, 12 Aug 2014 03:43:51 +0000 (23:43 -0400)]
[dev.power64] cmd/cgo: add {ppc,power}64{,le} to pointer and int size maps
LGTM=rsc
R=rsc, iant, dave
CC=golang-codereviews
https://golang.org/cl/
119640043
Shenghou Ma [Tue, 12 Aug 2014 03:43:34 +0000 (23:43 -0400)]
[dev.power64] debug/elf: add power64 support along with relocation test
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
125910043
Shenghou Ma [Tue, 12 Aug 2014 03:43:15 +0000 (23:43 -0400)]
[dev.power64] syscall: remove duplicated constants
Without this CL, simply running mkall.sh for Linux will generate duplicated constants
for termios. I verified that after this CL, mkall.sh will generate almost identical
z* files for linux/amd64.
LGTM=rsc
R=rsc, iant, r
CC=golang-codereviews
https://golang.org/cl/
124990043
Shenghou Ma [Tue, 12 Aug 2014 03:32:33 +0000 (23:32 -0400)]
[dev.power64] runtime: ignore rt_sigaction error if it's for SIGRTMAX.
Workaround a qemu linux user space emulation bug.
ref: http://git.qemu.org/?p=qemu.git;a=blob;f=linux-user/signal.c;h=
1141054be2170128d6f7a340b41484b49a255936 ;hb=HEAD#l82
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
124900043
Shenghou Ma [Tue, 12 Aug 2014 03:32:08 +0000 (23:32 -0400)]
[dev.power64] runtime: rename traceback_arm.c to traceback_lr.c
Also make it more portable by not hardcoding pointer sizes.
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
127780043
Shenghou Ma [Tue, 12 Aug 2014 03:31:28 +0000 (23:31 -0400)]
[dev.power64] cmd/ld: add MAXIO back in lib.h
It was accidentally removed.
LGTM=dave
R=rsc, iant, dave
CC=golang-codereviews
https://golang.org/cl/
124880043
Shenghou Ma [Thu, 7 Aug 2014 22:41:37 +0000 (18:41 -0400)]
[dev.power64] cmd/9c: add Makefile
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
121370043
Shenghou Ma [Thu, 7 Aug 2014 22:41:09 +0000 (18:41 -0400)]
[dev.power64] liblink: handle $i64. symbols, add debug output for -S -v, show rel addend in hex for RISC arches
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
127770043
Shenghou Ma [Thu, 7 Aug 2014 22:36:42 +0000 (18:36 -0400)]
[dev.power64] cmd/ld: update for power64
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
121380043
Shenghou Ma [Thu, 7 Aug 2014 22:34:25 +0000 (18:34 -0400)]
[dev.power64] cmd/9c: fix switch bug
The cmd/cc bundled with 9c has additional code compared to our cmd/cc, and
without those code, 9c couldn't handle switch statement where the expression
is not just a simple int32 or int64 variable (e.g. g->status or int8 variable).
All credit goes to rsc.
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
125840043
Shenghou Ma [Thu, 7 Aug 2014 19:13:25 +0000 (15:13 -0400)]
[dev.power64] include/link.h, liblink: convert 9l functions to liblink
This replaces CL
122990043 .
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
123010043
Shenghou Ma [Thu, 7 Aug 2014 18:56:59 +0000 (14:56 -0400)]
[dev.power64] cmd/9l: update header files for liblink
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
128720044
Shenghou Ma [Thu, 7 Aug 2014 18:49:41 +0000 (14:49 -0400)]
[dev.power64] cmd/9a: use liblink, add required additional instructions.
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
127730043
Shenghou Ma [Thu, 7 Aug 2014 18:37:00 +0000 (14:37 -0400)]
[dev.power64] .hgignore: update for the 9 toolchain
LGTM=dave, rsc
R=rsc, iant, dave
CC=golang-codereviews
https://golang.org/cl/
124840043
Shenghou Ma [Thu, 7 Aug 2014 18:36:34 +0000 (14:36 -0400)]
[dev.power64] cmd/9c: use liblink, use Go argument passing rules, support both endians
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
126800043
Shenghou Ma [Thu, 7 Aug 2014 16:02:36 +0000 (12:02 -0400)]
[dev.power64] liblink: move span and asmout related function from obj9.c to asm9.c
To reduce delta for the upcoming liblink CL.
Just code movement, no semantic changes.
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
124830043
Shenghou Ma [Thu, 7 Aug 2014 03:59:14 +0000 (23:59 -0400)]
[dev.power64] cmd/dist: power64/power64le support.
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
117670045
Shenghou Ma [Thu, 7 Aug 2014 03:43:36 +0000 (23:43 -0400)]
[dev.power64] cmd/9g: add doc.go to prevent build failures.
After CL
117670045 , cmd/dist will expect to have a cmd/9g directory.
LGTM=rsc, dave
R=rsc, iant, dave
CC=golang-codereviews
https://golang.org/cl/
126780043
Shenghou Ma [Thu, 7 Aug 2014 03:41:29 +0000 (23:41 -0400)]
[dev.power64] cmd/9a, cmd/9c, cmd/9l, liblink: import code from Vita Nuova.
No modifications other than adding copyright header to each file, and
concatenating several cmd/9l files together to form the liblink files.
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
123840043
Shenghou Ma [Wed, 6 Aug 2014 20:16:28 +0000 (16:16 -0400)]
[dev.power64] cmd/dist: recognize power64 and power64le as GOHOSTARCH
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/
125760043
Russ Cox [Wed, 6 Aug 2014 20:15:22 +0000 (16:15 -0400)]
[dev.power64] all: merge default, for codereview update
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
124820043
Russ Cox [Wed, 6 Aug 2014 20:12:24 +0000 (16:12 -0400)]
codereview: do not hit upload_complete on first patch
Causes server 500 error, so don't do it.
TBR=minux
CC=golang-codereviews
https://golang.org/cl/
125770043
Russ Cox [Wed, 6 Aug 2014 20:10:08 +0000 (16:10 -0400)]
codereview: fix submit of merge + include branch prefix in submitted message
hg insists that we not list explicit files for a merge.
for benefit of other tools reading logs, include branch prefix
at start of every commit message.
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
124780044
Russ Cox [Wed, 6 Aug 2014 19:46:33 +0000 (15:46 -0400)]
cmd/gc: make liveness ~10x faster
1) The arrayindexof lookup function is O(n). Replace with O(1) lookups.
2) The checkptxt function is O(n²) and is purely for debugging.
Only run when the debugging flags are turned on.
3) Iterating over sparse bitmaps can be done faster word by word.
Introduce and use bvnext for that.
Run times before and after, on my 2.5 GHz Core i5 MacBook Pro.
x.go 9.48 0.84 issue 8259
x100.go 0.01 0.01 issue 8354
x1000.go 0.10 0.10
x2000.go 0.62 0.19
x3000.go 1.33 0.34
x4000.go 2.29 0.49
x5000.go 3.89 0.67
x6000.go 5.00 0.90
x7000.go 6.70 1.13
x8000.go 9.44 1.38
x9000.go 11.23 1.87
x10000.go 13.78 2.09
Fixes #8259.
Fixes #8354.
LGTM=iant, r
R=golang-codereviews, iant, r
CC=golang-codereviews
https://golang.org/cl/
125720043
Russ Cox [Wed, 6 Aug 2014 19:36:24 +0000 (15:36 -0400)]
all: merge default, for codereview fixes
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
124810043
Russ Cox [Wed, 6 Aug 2014 19:25:17 +0000 (15:25 -0400)]
codereview: handle upload of merge
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
118690043
Russ Cox [Wed, 6 Aug 2014 19:15:45 +0000 (15:15 -0400)]
codereview: preserve branch prefix in subject during hg mail
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
124800043
Russ Cox [Wed, 6 Aug 2014 19:12:08 +0000 (15:12 -0400)]
cmd/dist: generate anames9.c
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
120690043
Derek Parker [Wed, 6 Aug 2014 19:11:37 +0000 (12:11 -0700)]
debug/dwarf: fix Reader panic on DW_TAG_unspecified_type
The linker currently produces the DWARF 3 DW_TAG_unspecified_type tag, however the Reader in debug/dwarf will panic whenever that tag is encountered.
Fixes #8437.
LGTM=rsc
R=golang-codereviews, bradfitz, iant, rsc
CC=golang-codereviews
https://golang.org/cl/
117280043
Brad Fitzpatrick [Wed, 6 Aug 2014 19:10:00 +0000 (12:10 -0700)]
A+C: Derek Parker (individual CLA)
Generated by a+c.
R=gobot
CC=golang-codereviews
https://golang.org/cl/
125750043
Russ Cox [Wed, 6 Aug 2014 18:58:17 +0000 (14:58 -0400)]
cmd/dist, go/build: add power64, power64le to known GOARCH lists
LGTM=dave, minux, aram
R=minux, dave, bradfitz, aram
CC=golang-codereviews
https://golang.org/cl/
119470043
Russ Cox [Wed, 6 Aug 2014 18:57:34 +0000 (14:57 -0400)]
[dev.power64] remove dummy file
Russ Cox [Wed, 6 Aug 2014 18:56:58 +0000 (14:56 -0400)]
[dev.power64] create dev branch
Russ Cox [Wed, 6 Aug 2014 18:52:12 +0000 (14:52 -0400)]
codereview: enable work and code reviews in development branches
This is an experiment. See mail on golang-dev
(subject: "an experiment: development branches").
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/
117660043
Russ Cox [Wed, 6 Aug 2014 18:50:09 +0000 (14:50 -0400)]
runtime: turn off 'unexpected return pc' print on arm traceback
It can happen legitimately if a profiling signal arrives at just the wrong moment.
It's harmless.
Fixes #8153.
LGTM=minux
R=golang-codereviews, minux
CC=golang-codereviews, iant, r
https://golang.org/cl/
118670043
Percy Wegmann [Wed, 6 Aug 2014 18:22:00 +0000 (11:22 -0700)]
crypto/tls: Added dynamic alternative to NameToCertificate map for SNI
Revised version of https://golang.org/cl/
81260045 /
LGTM=agl
R=golang-codereviews, gobot, agl, ox
CC=golang-codereviews
https://golang.org/cl/
107400043
Matthew Dempsky [Wed, 6 Aug 2014 17:28:19 +0000 (10:28 -0700)]
cmd/cgo: consistently map void* to *byte under -{c,go}defs
Fixes #8478.
LGTM=iant
R=iant
CC=golang-codereviews
https://golang.org/cl/
122150043
Dmitriy Vyukov [Wed, 6 Aug 2014 15:33:15 +0000 (19:33 +0400)]
runtime: remove unused variable
Left over from cl/
119490044 .
LGTM=bradfitz
R=rsc, bradfitz
CC=golang-codereviews
https://golang.org/cl/
125730043
Dmitriy Vyukov [Wed, 6 Aug 2014 14:36:48 +0000 (18:36 +0400)]
runtime: simplify code
Full spans can't be passed to UncacheSpan since we get rid of free.
LGTM=rsc
R=golang-codereviews
CC=golang-codereviews, khr, rsc
https://golang.org/cl/
119490044
David du Colombier [Wed, 6 Aug 2014 13:11:41 +0000 (06:11 -0700)]
dist: fix Plan 9 build
Since CL
115060044 , mkanames declares an empty
array in anames8.c and anames6.c, which is not
valid for the Plan 9 compiler.
char* cnames8[] = {
};
This change makes mkanames not declaring the
cnames array when no C_ constants are found.
LGTM=iant
R=minux, iant
CC=golang-codereviews
https://golang.org/cl/
117680043
Alex Brainman [Wed, 6 Aug 2014 07:24:03 +0000 (17:24 +1000)]
runtime: burn cpu before calling yield in windows runtime.systime
LGTM=dvyukov
R=golang-codereviews, dvyukov
CC=golang-codereviews
https://golang.org/cl/
117670043