aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/sql.go
diff options
context:
space:
mode:
authorMichael Munday <mike.munday@ibm.com>2018-03-26 17:00:29 +0100
committerMichael Munday <mike.munday@ibm.com>2018-03-26 17:41:34 +0000
commit8afa8a3374a926eda39e1449842a1c70b1fac37f (patch)
tree84d3fb2587d7997c82d13013b2a8623a4f9c96cc /src/database/sql/sql.go
parent3412baaa029e10bb2fdf9cd596895b12e4a3bda1 (diff)
downloadgo-8afa8a3374a926eda39e1449842a1c70b1fac37f.tar.xz
cmd/compile: use 32-bit comparisons where possible on s390x
We use 32-bit operations for 8- and 16-bit arithmetic, so use them for comparisons too. This won't change performance but it is more consistent and makes testing 8- and 16-bit comparison codegen slightly more straightforward (for follow up CL). Also fix a typo and add some additional double sign and zero extension rules to remove the operations inserted by the comparison rules. Change-Id: I89ec1b0e09cb8be8090cf007be283ad88bba75a4 Reviewed-on: https://go-review.googlesource.com/102556 Run-TryBot: Michael Munday <mike.munday@ibm.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/database/sql/sql.go')
0 files changed, 0 insertions, 0 deletions