rust/src/librustc_trans
Ulrik Sverdrup 2dbac1fb8e Add intrinsics for float arithmetic with fast flag enabled
`fast` a.k.a UnsafeAlgebra is the flag for enabling all "unsafe"
(according to llvm) float optimizations.

See LangRef for more information http://llvm.org/docs/LangRef.html#fast-math-flags

Providing these operations with less precise associativity rules (for
example) is useful to numerical applications.

For example, the summation loop:

    let sum = 0.;
    for element in data {
        sum += *element;
    }

Using the default floating point semantics, this loop expresses the
floats must be added in a sequence, one after another. This constraint
is usually completely unintended, and it means that no autovectorization
is possible.
2016-03-18 17:31:41 +01:00
..
back Rename middle::ty::ctxt to TyCtxt 2016-03-03 07:37:56 +00:00
save Refactor rustc_trans::save 2016-03-15 22:50:18 +01:00
trans Add intrinsics for float arithmetic with fast flag enabled 2016-03-18 17:31:41 +01:00
Cargo.toml rustbuild 2016-03-14 09:29:18 +01:00
diagnostics.rs Update long error explanations 2016-02-07 13:03:35 +01:00
lib.rs trans: Combine cabi and back::abi into abi. 2016-03-17 21:51:50 +02:00
README.txt

See the README.md in ../librustc.