llvm with tablegen backend for capstone disassembler
Go to file
Sergey Dmitrouk 195f3a15e6 [compiler-rt][aarch64] New tests for 128-bit floating-point builtins, fixes of tests and __fixuint
Summary:
The following tests for 128-bit floating-point type behaved in a strange way, thought it were bugs, but seem to be mistakes in tests:

 * `fixtfsi` test checked for `0x80000001` as a value returned for number less than can be represented, while `LONG_MIN` should be returned on saturation;
 * `fixunstfdi` wasn't enabled for AArch64, only for PPC, but there is nothing PPC specific in that test;
 * `multf3` tried to underflow multiplication by producing result with 16383 exponent, while there are still 112 bits of fraction plus implicit bit, so resultant exponent should be 16497.

Tests for some other builtins didn't exist:

 * `fixtfdi`
 * `fixtfti`
 * `fixunstfti`

They were made by copying similar files and adjusting for wider types and adding/removing some reasonable/extra checks.

Also `__fixuint` seems to have off by one error, updated tests to catch this case.

Reviewers: rengolin, zatrazz, howard.hinnant, t.p.northover, jmolloy, enefaim

Subscribers: aemerson, llvm-commits, rengolin

Differential Revision: http://reviews.llvm.org/D14187

llvm-svn: 252180
2015-11-05 18:36:42 +00:00
clang [ARM] Clang gives unintended warning message for 'mthumb' + M-profiles: 2015-11-05 17:11:55 +00:00
clang-tools-extra Accommodate interface change in r252134. 2015-11-05 02:30:21 +00:00
compiler-rt [compiler-rt][aarch64] New tests for 128-bit floating-point builtins, fixes of tests and __fixuint 2015-11-05 18:36:42 +00:00
debuginfo-tests
libclc integer: remove explicit casts from _MIN definitions 2015-10-06 19:12:12 +00:00
libcxx Make reverse() call iter_swap like the standard says, instead of calling swap directly. No real change. 2015-11-02 21:34:25 +00:00
libcxxabi Fix LIBCXXABI_HAS_NO_THREADS configuration. 2015-10-14 19:21:38 +00:00
libunwind Add FreeBSD _Unwind_Ptr typedef 2015-10-16 19:40:09 +00:00
lld Remove redundant namespace specifiers. 2015-11-05 18:13:25 +00:00
lldb Do not build any of the simulator material on non-Darwin 2015-11-05 18:23:10 +00:00
llgo [llgo] irgen: always use TargetMachine's data layout 2015-09-25 06:28:14 +00:00
llvm [DebugInfo] Fix ARM/AArch64 prologue_end position. Related to D11268. 2015-11-05 17:50:17 +00:00
openmp Improve OMPT initialization code 2015-11-05 16:54:55 +00:00
polly Use per-BB value maps for non-exit BBs 2015-11-05 16:17:17 +00:00