]> Cypherpunks repositories - gostls13.git/commit
arm: work around reg allocator bug in 5g, in two parts.
authorRob Pike <r@golang.org>
Sat, 11 Sep 2010 03:55:29 +0000 (20:55 -0700)
committerRob Pike <r@golang.org>
Sat, 11 Sep 2010 03:55:29 +0000 (20:55 -0700)
commit0aa2317096fde91c51a279b885765b5e26359150
tree687648693b7059bfbcf81562e49c1e77877418aa
parentb9988edbb68ad889247ebe58c479ee4033883fe8
arm: work around reg allocator bug in 5g, in two parts.
1) hack regalloc to leave R9 (m) and R10 (g) alone.
the real fix is tricker, but this gets us running
2) fix up the few places in the package sources that
the shortage of registers affects, by simplifying
some expressions.

all of this should be reverted when the right fix is in.

Fixes #1084.

R=rsc
CC=golang-dev
https://golang.org/cl/2132046
src/cmd/5g/gsubr.c
src/pkg/compress/flate/huffman_bit_writer.go
src/pkg/gob/decode.go
src/pkg/log/log.go
src/pkg/net/ip.go
src/pkg/time/format.go
src/pkg/xml/xml.go