]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix uint<->float conversion on 386
authorCherry Zhang <cherryyz@google.com>
Tue, 16 Aug 2016 16:14:54 +0000 (12:14 -0400)
committerCherry Zhang <cherryyz@google.com>
Tue, 16 Aug 2016 17:20:11 +0000 (17:20 +0000)
commite6f1a886bc49e920533b3e95e96f4965000b9821
treedebb6eb0510db70c948e92e977da513059d31dd2
parent1faea596e4f94e0a4170eda3d1a217b4936d8aa6
cmd/compile: fix uint<->float conversion on 386

The frontend rewriting lowers them to runtime calls on 386. It
matches explicitly uint32, but missed uint.

Fixes #16738.

Change-Id: Iece7a45edf74615baca052a53273c208f057636d
Reviewed-on: https://go-review.googlesource.com/27085
Run-TryBot: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/gc/float_test.go
src/cmd/compile/internal/gc/walk.go