1
0
mirror of https://github.com/golang/go synced 2024-09-30 20:18:33 -06:00
go/src
Michael Munday 35cf3843a4 cmd/{asm,compile}: avoid zeroAuto clobbering flags on s390x
This CL modifies how MOV[DWHB] instructions that store a constant to
memory are assembled to avoid them clobbering the condition code
(flags). It also modifies zeroAuto to use MOVD instructions instead of
CLEAR (which is assembled as XC).

MOV[DWHB]storeconst ops also no longer clobbers flags.

Note: this CL modifies the assembler so that it can no longer handle
immediates outside the range of an int16 or offsets from SB, which
reflects what the machine instructions support. The compiler doesn't
need this capability any more and I don't think this affects any existing
assembly, but it is easy to workaround if it does.

Fixes #20187.

Change-Id: Ie54947ff38367bd6a19962bf1a6d0296a4accffb
Reviewed-on: https://go-review.googlesource.com/42179
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-05-02 17:43:31 +00:00
..
archive archive/zip: replace RWMutex with sync.Map 2017-04-29 17:21:43 +00:00
bufio bufio: clarify that Flush returns a cached write error 2017-04-21 00:48:51 +00:00
builtin
bytes bytes: clarify documentation for UnreadByte/Rune 2017-04-28 16:37:13 +00:00
cmd cmd/{asm,compile}: avoid zeroAuto clobbering flags on s390x 2017-05-02 17:43:31 +00:00
compress compress/lzw: fix hi code overflow. 2017-04-28 05:59:30 +00:00
container
context context: define behavior for Err before Done is closed 2017-04-26 15:39:18 +00:00
crypto crypto/sha256,crypto/sha512: improve performance for sha{256,512}.block on ppc64le 2017-04-26 12:34:03 +00:00
database/sql database/sql: ensure releaseConn is defined before a possible close 2017-04-28 22:55:26 +00:00
debug cmd/internal/obj: fix LSym.Type during compilation, not linking 2017-05-02 00:21:33 +00:00
encoding encoding/json: replace encoderCache RWMutex with a sync.Map 2017-04-28 20:19:10 +00:00
errors
expvar expvar: reduce sync.Map overhead for (*Map).Set 2017-05-02 17:13:40 +00:00
flag flag: validate Int and Uint values to be in range 2017-03-21 17:00:26 +00:00
fmt
go go/internal/gcimporter: add test object files for go1.8 versions 4 and 5 2017-04-25 18:15:20 +00:00
hash hash/crc32: optimize arm64 crc32 implementation 2017-04-13 12:44:10 +00:00
html html/template: use bytes.ContainsAny 2017-04-25 23:36:25 +00:00
image image/jpeg: fix extended sequential Huffman table selector (Th). 2017-04-27 03:48:40 +00:00
index/suffixarray
internal os, net, internal/poll: return consistent error for closed socket 2017-04-26 00:03:14 +00:00
io io: correctly compute call depth in test 2017-04-18 19:56:54 +00:00
log
math math/big: improve performance for addVV/subVV for ppc64x 2017-04-25 13:15:39 +00:00
mime mime: re-accept empty encoded-text 2017-04-29 04:14:36 +00:00
net net/http: bgErr is unused; remove it 2017-05-02 15:49:13 +00:00
os os: skip TestNetworkSymbolicLink if Server service is not started 2017-04-30 07:04:30 +00:00
path os: do not report ModeDir for symlinks on windows 2017-04-26 23:17:23 +00:00
plugin plugin: resolve plugin import path issue 2017-04-26 00:54:54 +00:00
reflect reflect: use sync.Map instead of RWMutex for type caches 2017-04-27 15:34:41 +00:00
regexp regexp: speed up QuoteMeta with a lookup table 2017-04-28 06:43:14 +00:00
runtime runtime: refactor cpu feature detection for 386 & amd64 2017-05-01 20:46:03 +00:00
sort
strconv strconv: optimize decimal ints formatting with smallsString 2017-03-22 16:03:28 +00:00
strings strings: optimize Count for amd64 2017-04-07 14:25:13 +00:00
sync sync: really test DeepCopyMap 2017-04-30 14:17:36 +00:00
syscall syscall: fix typo in documentation for StringToUTF16Ptr 2017-04-28 05:28:27 +00:00
testing testing: add argument to list tests, benchmarks, and examples 2017-04-26 15:53:32 +00:00
text all: remove some unused parameters in test code 2017-04-25 14:38:10 +00:00
time all: remove some unused parameters in test code 2017-04-25 14:38:10 +00:00
unicode
unsafe
vendor/golang_org/x vendor: update vendored route 2017-04-25 21:39:45 +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