1
0
mirror of https://github.com/golang/go synced 2024-11-19 16:54:44 -07:00
go/src
Ian Lance Taylor 555d1e36f9 cmd/internal/obj/ppc64: fix MOVFL REG, CONST
The MOVFL instruction (which external PPC64 docs call mtcrf) can take
either a CR register or a constant. It doesn't make sense to specify
both, as the CR register implies the constant value. Specifying either
a register or a constant is enforced by the implementation in the
asmout method (case 69).

However, the optab was providing a form that specified both a constant
and a CR register, and was not providing a form that specified only a
constant. This CL fixes the optab table to provide a form that takes
only a constant.

No test because I don't know where to write it. The next CL in this
series will use the new instruction format.

Change-Id: I8bb5d3ed60f483b54c341ce613931e126f7d7be6
Reviewed-on: https://go-review.googlesource.com/44732
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
2017-06-05 19:59:33 +00:00
..
archive archive/zip: set utf-8 flag 2017-05-26 17:08:18 +00:00
bufio
builtin builtin: fix signature of the builtin function make 2017-05-13 16:16:48 +00:00
bytes bytes: note that NewBuffer take ownership of its argument 2017-06-02 18:03:36 +00:00
cmd cmd/internal/obj/ppc64: fix MOVFL REG, CONST 2017-06-05 19:59:33 +00:00
compress compress/gzip: clarify behavior of Writer.Close 2017-06-02 01:03:19 +00:00
container container/heap: avoid up() invoke if down() success at heap.Remove() 2017-05-13 19:10:24 +00:00
context
crypto crypto/rand: only read necessary bytes for Int 2017-05-23 21:02:14 +00:00
database/sql database/sql: ensure Rows is closed when Tx closes 2017-06-05 19:48:49 +00:00
debug debug/dwarf: heuristically handle both UNIX and Windows paths 2017-05-26 14:35:20 +00:00
encoding encoding/json: clarify unmarshaling behaviour on bad fields 2017-06-05 16:32:35 +00:00
errors
expvar expvar: reduce sync.Map overhead for (*Map).Set 2017-05-02 17:13:40 +00:00
flag
fmt
go go/printer: don't emit unnecessary //line directives before empty lines 2017-06-02 20:07:51 +00:00
hash internal/cpu: new package to detect cpu features 2017-05-10 17:02:21 +00:00
html html/template: allow safe usage of predefined escapers in pipelines 2017-05-05 18:56:31 +00:00
image image/gif: don't panic on large or nil-containing color.Palettes. 2017-05-06 00:37:43 +00:00
index/suffixarray
internal internal/poll: implement RawControl of FD on Windows 2017-05-20 00:45:11 +00:00
io
log log: Prevent getting time if it's unnecessary 2017-05-22 21:59:34 +00:00
math math/big: fix Add, Sub when receiver aliases 2nd operand 2017-05-31 10:28:05 +00:00
mime mime/multipart: parse boundary with spaces properly 2017-05-23 22:56:44 +00:00
net net/http: make Transport retry GetBody requests if nothing written 2017-06-05 19:13:53 +00:00
os os/exec: ignore some pipe write errors on windows 2017-05-23 04:27:01 +00:00
path path: add examples 2017-05-16 15:44:29 +00:00
plugin
reflect reflect: remove dead v.typ assignment 2017-05-11 08:07:21 +00:00
regexp regexp: speed up QuoteMeta with a lookup table 2017-04-28 06:43:14 +00:00
runtime runtime: avoid division in gc 2017-06-05 16:32:02 +00:00
sort sort: clarify comment about not-a-number values 2017-06-01 21:24:41 +00:00
strconv
strings strings: simplify indexFunc 2017-05-24 03:16:44 +00:00
sync cmd/internal/obj/mips: add support of LLV, SCV, NOOP instructions 2017-05-16 17:15:11 +00:00
syscall syscall: allow processes steal a controlling terminal on Linux 2017-05-31 03:49:48 +00:00
testing testing: clarify that subtests are run as goroutines 2017-05-30 16:28:16 +00:00
text text/scanner: clarify documentation on Pos and Position 2017-05-14 20:24:34 +00:00
time time: update docs to clarify goroutine-safety expectations of Time 2017-05-24 06:11:03 +00:00
unicode
unsafe
vendor/golang_org/x vendor: update vendored lif 2017-05-29 21:54:12 +00:00
all.bash Revert "build: fail nicely if somebody runs all.bash from a binary tarball package" 2017-04-28 21:19:32 +00:00
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat
Make.dist
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc