rust/src
bors 8310de856d Auto merge of #33429 - ranma42:fix-x87-parsing, r=alexcrichton
Fix fast path of float parsing on x87

The fast path of the float parser relies on the rounding to happen
exactly and directly to the correct number of bits. On x87, instead,
double rounding would occour as the FPU stack defaults to 80 bits of
precision.

This can be fixed by setting the precision of the FPU stack before
performing the int to float conversion. This can be achieved by
changing the value of the x87 control word. This is a somewhat common
operation that is in fact performed whenever a float needs to be
truncated to an integer, but it is undesirable to add its overhead for
code that does not rely on x87 for computations (i.e. on non-x86
architectures, or x86 architectures which perform FPU computations on
using SSE).

Fixes `num::dec2flt::fast_path_correct` (on x87).
2016-05-16 09:46:09 -07:00
..
bootstrap rustbuild: Add support for crate tests + doctests 2016-05-12 08:52:20 -07:00
build_helper
compiler-rt@57315f7e07
doc Update link to license 2016-05-15 19:59:45 +03:00
driver
etc Auto merge of #33612 - royalstream:royalstream-enc-enum-ptr, r=michaelwoerister 2016-05-15 05:26:50 -07:00
grammar
jemalloc@aab1c0a0e0
liballoc Rollup merge of #33590 - durka:patch-22, r=aturon 2016-05-15 20:13:43 +05:30
liballoc_jemalloc
liballoc_system
libarena
libbacktrace
libcollections Rollup merge of #33635 - tshepang:capitalise, r=steveklabnik 2016-05-16 02:00:20 +03:00
libcollectionstest
libcore Auto merge of #33429 - ranma42:fix-x87-parsing, r=alexcrichton 2016-05-16 09:46:09 -07:00
libcoretest
libflate rustbuild: Add support for crate tests + doctests 2016-05-12 08:52:20 -07:00
libfmt_macros
libgetopts
libgraphviz
liblibc@7265c17d18
liblog
libpanic_abort rustbuild: Add support for crate tests + doctests 2016-05-12 08:52:20 -07:00
libpanic_unwind rustbuild: Add support for crate tests + doctests 2016-05-12 08:52:20 -07:00
librand rustbuild: Add support for crate tests + doctests 2016-05-12 08:52:20 -07:00
librbml
librustc Auto merge of #33331 - uasi:diag-e0038-typo, r=GuillaumeGomez 2016-05-16 05:05:55 -07:00
librustc_back
librustc_bitflags rustbuild: Add support for crate tests + doctests 2016-05-12 08:52:20 -07:00
librustc_borrowck Auto merge of #33619 - jonathandturner:improve_structured_errors, r=nikomatsakis 2016-05-15 15:08:46 -07:00
librustc_const_eval Add more details and examples in error code 2016-05-12 16:42:43 +02:00
librustc_const_math
librustc_data_structures
librustc_driver Rollup merge of #33544 - dotdash:baby_dont_break_me_no_more, r=Aatch 2016-05-14 11:57:47 +02:00
librustc_incremental Remove ExplicitSelf from HIR 2016-05-14 13:26:40 +03:00
librustc_lint Auto merge of #33282 - alexcrichton:rustbuild-crate-tests, r=brson 2016-05-12 14:31:54 -07:00
librustc_llvm
librustc_metadata Rollup merge of #33393 - cristianoliveira:docs-error-explanation, r=steveklabnik 2016-05-15 20:13:40 +05:30
librustc_mir Auto merge of #33620 - eddyb:oops-static-is-not-fn, r=dotdash 2016-05-15 11:01:03 -07:00
librustc_passes
librustc_platform_intrinsics
librustc_plugin
librustc_privacy Remove ExplicitSelf from HIR 2016-05-14 13:26:40 +03:00
librustc_resolve Auto merge of #33505 - petrochenkov:self, r=nrc 2016-05-15 23:14:52 -07:00
librustc_save_analysis save-analysis: make DefIds prettier 2016-05-13 12:23:41 -07:00
librustc_trans Rollup merge of #33576 - soltanmm:vtable, r=nikomatsakis 2016-05-14 11:57:49 +02:00
librustc_typeck Auto merge of #33505 - petrochenkov:self, r=nrc 2016-05-15 23:14:52 -07:00
librustc_unicode
librustdoc Auto merge of #33505 - petrochenkov:self, r=nrc 2016-05-15 23:14:52 -07:00
libserialize
libstd Auto merge of #33663 - rphmeier:recover_rename, r=sfackler 2016-05-16 07:25:04 -07:00
libsyntax Auto merge of #33505 - petrochenkov:self, r=nrc 2016-05-15 23:14:52 -07:00
libsyntax_ext Auto merge of #33505 - petrochenkov:self, r=nrc 2016-05-15 23:14:52 -07:00
libterm
libtest
libunwind rustbuild: Add support for crate tests + doctests 2016-05-12 08:52:20 -07:00
llvm@a73c41e7f1
rt
rtstartup
rust-installer@c37d3747da
rustc rustbuild: Add support for crate tests + doctests 2016-05-12 08:52:20 -07:00
rustllvm
test Auto merge of #33640 - lucab:to-upstream/tcp-stress, r=alexcrichton 2016-05-16 02:47:12 -07:00
tools
stage0.txt