llvm-project/llvm
Ahmed Bougacha 55c6682ae2 [X86] Don't force Nearest-Even rounding for VCVTPS2PH, use MXCSR.
Officially, we don't acknowledge non-default configurations of MXCSR,
as getting there would require usage of the FENV_ACCESS pragma (at
least insofar as rounding mode is concerned).

We don't support the pragma, so we can assume that the default
rounding mode - round to nearest, ties to even - is always used.

However, it's inconsistent with the rest of the instruction set,
where MXCSR is always effective (unless otherwise specified).
Also, it's an unnecessary obstacle to the few brave souls that use
fenv.h with LLVM.

Avoid the hard-coded rounding mode for fp_to_f16; use MXCSR instead.

llvm-svn: 259448
2016-02-02 01:32:50 +00:00
..
bindings Remove autoconf support 2016-01-26 21:29:08 +00:00
cmake Remove autoconf support 2016-01-26 21:29:08 +00:00
docs [doc] improve the doc for CUDA 2016-01-30 23:48:47 +00:00
examples Remove autoconf support 2016-01-26 21:29:08 +00:00
include SmallSet/SmallPtrSet: Refuse huge Small numbers 2016-02-01 22:05:16 +00:00
lib [X86] Don't force Nearest-Even rounding for VCVTPS2PH, use MXCSR. 2016-02-02 01:32:50 +00:00
projects Remove autoconf support 2016-01-26 21:29:08 +00:00
resources
test [X86] Don't force Nearest-Even rounding for VCVTPS2PH, use MXCSR. 2016-02-02 01:32:50 +00:00
tools [llvm-nm] Simplify the code a bit. NFCI. 2016-02-01 19:22:16 +00:00
unittests [MCDwarf] Fix encoding of line tables with weird custom parameters 2016-01-31 22:06:35 +00:00
utils [TableGen] Store result of getInstructionsByEnumValue in an ArrayRef instead of accidentally copying to a vector. 2016-02-01 01:33:42 +00:00
.arcconfig
.clang-format
.clang-tidy adding readability-identifier-naming to llvm clang-tidy configuration. 2015-12-08 17:44:51 +00:00
.gitignore
CMakeLists.txt [GlobalISel] Add the proper cmake plumbing. 2016-01-20 20:58:56 +00:00
CODE_OWNERS.TXT [docs] Remove references to autotools build. 2016-01-30 01:10:15 +00:00
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
README.txt Revert previous test commit. 2016-01-04 19:13:29 +00:00
configure Remove autoconf support 2016-01-26 21:29:08 +00:00
llvm.spec.in

README.txt

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.