Skip to content
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

cmd/compile/internal/gc: invalid instructions generated by ssa #12148

Closed
brtzsnr opened this issue Aug 14, 2015 · 2 comments
Closed

cmd/compile/internal/gc: invalid instructions generated by ssa #12148

brtzsnr opened this issue Aug 14, 2015 · 2 comments

Comments

@brtzsnr
Copy link
Contributor

brtzsnr commented Aug 14, 2015

See the following programs:

http://play.golang.org/p/fh0IAG0j5k
// ./a31018.go:1: doasm: notfound ft=9 tt=13 00124 ORW $22898193250, AX 9 13

http://play.golang.org/p/qYwLNUo5p0
// ./a31954.go:1: doasm: notfound ft=9 tt=16 00074 ORL $-72057592695750653, R13 9 16

http://play.golang.org/p/EmrfPOKU1t
// ./a31954.go:1: doasm: notfound ft=9 tt=16 00054 XORW $4402880119000, R8 9 16

http://play.golang.org/p/vOm7VrT2cU
// ./a6868.go:1: doasm: notfound ft=9 tt=16 00132 XORL $648518346341351424, R14 9 16

In this case the constant is larger than the operation width. I suspect that AND* also have the same issue.

@gopherbot
Copy link

CL https://golang.org/cl/13640 mentions this issue.

@rsc
Copy link
Contributor

rsc commented Oct 19, 2015

Already fixed, per CL 13640 discussion.

@rsc rsc changed the title [dev/ssa] cmd/compile/internal/gc: invalid instructions cmd/compile/internal/gc: invalid instructions generated by ssa Oct 19, 2015
@rsc rsc closed this as completed Oct 19, 2015
@golang golang locked and limited conversation to collaborators Oct 24, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants