1
0
mirror of https://github.com/golang/go synced 2024-10-03 18:21:21 -06:00
go/src
Austin Clements b21e936f3e liblink: generate correct code for MOVD $-n(Rm), x on ppc64
On ppc64, liblink rewrites MOVD's of >32-bit constants by putting the
constant in memory and rewriting the MOVD to load from that memory
address.  However, there were two bugs in the condition:

a) owing to an incorrect sign extension, it triggered for all negative
   constants, and

b) it could trigger for constant offsets from registers (addresses of
   the form $n(Rm) in assembly)

Together, these meant instructions of the form MOVD $-n(Rm), x were
compiled by putting -n in memory and rewriting the MOVD to load this
constant from memory (completely dropping Rm).

Change-Id: I1f6cc980efa3e3d6f164b46c985b2c3b55971cca
Reviewed-on: https://go-review.googlesource.com/1752
Reviewed-by: Minux Ma <minux@golang.org>
2014-12-18 15:31:47 +00:00
..
archive
bufio bufio: remove unused 'panicked' variable from test 2014-11-06 15:22:29 +11:00
builtin
bytes cmd/go: fix bytes and net the right way 2014-09-24 19:18:01 -04:00
cmd liblink: generate correct code for MOVD $-n(Rm), x on ppc64 2014-12-18 15:31:47 +00:00
compress all: use golang.org/x/... import paths 2014-11-10 09:15:57 +11:00
container
crypto crypto/rand: handle EAGAIN reads from /dev/urandom 2014-12-16 04:52:09 +00:00
database/sql database/sql: make TestDrivers not crash on second run 2014-10-31 09:49:42 -07:00
debug all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
encoding encoding/json: mention that the "string" tag applies to booleans 2014-12-14 23:24:54 +00:00
errors
expvar
flag flag: roll back 156390043 (flag setting) 2014-10-20 13:28:00 -07:00
fmt fmt: fix one-letter typo in doc.go 2014-10-29 06:53:05 -07:00
go all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
hash all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
html html/template: fix build after encoding/js escaping change 2014-10-28 10:18:44 +11:00
image image/jpeg: handle Read returning n > 0, err != nil in d.fill 2014-11-22 13:55:33 -05:00
index/suffixarray
internal/syscall
io
lib9 lib9, cmd/ld: fixes for cross-linking on a Windows host 2014-09-18 17:27:26 -07:00
libbio
liblink liblink: generate correct code for MOVD $-n(Rm), x on ppc64 2014-12-18 15:31:47 +00:00
log log/syslog: try /var/run/log, for FreeBSD 2014-09-30 12:30:16 -04:00
math math: Added parity check to ProbablyPrime 2014-12-12 00:25:16 +00:00
mime
net net/http/httputil: don't use DisableKeepAlives in DumpRequestOut, fix build 2014-12-16 06:58:43 +00:00
os os: handle the sticky bit separately for *BSD and Solaris 2014-12-17 16:07:28 +00:00
path path/filepath: document that Glob ignores i/o errors 2014-09-18 21:50:22 -04:00
reflect reflect: remove a double negative, use the rtype.pointers method for clarity 2014-12-16 21:17:07 +00:00
regexp regexp/syntax: Clarify comment of OpAnyCharNotNL. 2014-11-11 18:52:07 -08:00
runtime runtime: add profiling infrastructure for the Concurrent GC 2014-12-16 22:15:51 +00:00
sort
strconv
strings strings: use fast path for IndexRune 2014-10-06 15:10:51 -07:00
sync all: merge dev.garbage (d1238958d4ae) into default branch 2014-12-05 20:34:45 -05:00
syscall all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
testing runtime: fix memory profiler 2014-10-16 22:11:26 +04:00
text text/template: fix bug in pipelined variadics 2014-10-18 11:22:05 -07:00
time time: panic with a more helpful error on use of invalid Timer 2014-10-21 13:26:40 +02:00
unicode unicode/utf8: fix docs for DecodeRune(empty) and friends. 2014-10-16 09:13:50 +11:00
unsafe unsafe: document that unsafe programs are not protected 2014-10-24 09:37:25 -07:00
all.bash
all.bat
all.rc
androidtest.bash
clean.bash
clean.bat
clean.rc
make.bash build: change all.bash output to be more markdown-friendly 2014-12-13 00:03:23 +00:00
make.bat build: change all.bash output to be more markdown-friendly 2014-12-13 00:03:23 +00:00
Make.dist
make.rc
nacltest.bash
race.bash
race.bat
run.bash build: change all.bash output to be more markdown-friendly 2014-12-13 00:03:23 +00:00
run.bat build: change all.bash output to be more markdown-friendly 2014-12-13 00:03:23 +00:00
run.rc
sudo.bash