-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/compile: incorrect handling of uint64 function parameters(?) on s390x #19940
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I think I've found the problem. @jcajka thanks a lot for the reproducer, can you see if CL 40433 fixes your original issue? In the meantime I'll work on a test. You can apply the CL by executing the following command in your Go checkout:
|
CL https://golang.org/cl/40433 mentions this issue. |
@mundaym seems to fix the issue, thanks for quick fix :) |
I can't reopen this, can you @josharian? Based on the golang-dev discussion, I think we are supposed to reopen issues that have been fixed in master but not in the release branch for the milestone. |
@mundaym you should request github access! See https://github.com/golang/go/wiki/GithubAccess. |
CL https://golang.org/cl/40931 mentions this issue. |
…stant merging rules On s390x unsigned integer comparisons with immediates require the immediate to be an unsigned 32-bit integer. The rule was checking that the immediate was a signed 32-bit integer. This CL also adds a test for comparisons that could be turned into compare with immediate or equivalent instructions (depending on architecture and optimizations applied). Cherry-pick of CL 40433 and CL 40873. Fixes #19940. Change-Id: I1331558a0ee0c4ac33bf8ea488f3ea190d06f110 Reviewed-on: https://go-review.googlesource.com/40931 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
CL https://golang.org/cl/43994 mentions this issue. |
…stant merging rules On s390x unsigned integer comparisons with immediates require the immediate to be an unsigned 32-bit integer. The rule was checking that the immediate was a signed 32-bit integer. This CL also adds a test for comparisons that could be turned into compare with immediate or equivalent instructions (depending on architecture and optimizations applied). Cherry-pick of CL 40433 and CL 40873. Fixes #19940. Reviewed-on: https://go-review.googlesource.com/40931 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Change-Id: I3daaeaa40d7637bd4421e6b8d37ea4ffd74448ce Reviewed-on: https://go-review.googlesource.com/43994 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
What version of Go are you using (
go version
)?go version devel +5a45a15 Fri Mar 31 05:02:02 2017 +0000 linux/s390x
also observed with go1.8+
What did you do?
Following reproducer fails on s390x, https://play.golang.org/p/ktGF0Uev_0
What did you expect to see?
PASSED
What did you see instead?
The text was updated successfully, but these errors were encountered: