aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/driver
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2016-01-12 12:42:28 -0800
committerKeith Randall <khr@golang.org>2016-01-13 16:23:13 +0000
commit3d01f28e4729b77fa528b349e1eb434c169ffa8b (patch)
tree7dfd2243e52ad4309a8b10f4d7f923aaa781411e /src/database/sql/driver
parentf3ce054a44a84795bec8a8155c8997226b113f76 (diff)
downloadgo-3d01f28e4729b77fa528b349e1eb434c169ffa8b.tar.xz
cmd/compile: stop using fucomi* ops for 387 builds
The fucomi* opcodes were only introduced for the Pentium Pro. They do not exist for an MMX Pentium. Use the fucom* instructions instead and move the condition codes from the fp flags register to the integer flags register explicitly. The use of fucomi* opcodes in ggen.go was introduced in 1.5 (CL 8738). The bad ops were generated for 64-bit floating-point comparisons. The use of fucomi* opcodes in gsubr.go dates back to at least 1.1. The bad ops were generated for float{32,64} to uint64 conversions. Fixes #13923 Change-Id: I5290599f5edea8abf8fb18036f44fa78bd1fc9e6 Reviewed-on: https://go-review.googlesource.com/18590 Reviewed-by: Minux Ma <minux@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/database/sql/driver')
0 files changed, 0 insertions, 0 deletions