summaryrefslogtreecommitdiff
path: root/test/builtins/Unit/trunctfdf2_test.c
AgeCommit message (Collapse)Author
2017-03-21[Builtin] Implement lit-test support (part 1 of 2: test cases update)Weiming Zhao
Original r297566 is splitted into two parts. This is part one, which adds "RUN" command for test cases. Unit/arm/call_apsr.S is updated to support thumb1. It also fixes a bug in arm/aeabi_uldivmod_test.c gcc_personality_test is XFAILED as the framework cannot handle it so far. cpu_model_test is also XFAILED for now as it is expected to return non-zero. TODO: A few tests are XFAILed for armhf and aarch64. We need further investigating. [1,2] Tracks the issue. [1] https://bugs.llvm.org//show_bug.cgi?id=32260 [2] https://bugs.llvm.org//show_bug.cgi?id=32261 Reviewers: rengolin, compnerd, jroelofs, erik.pilkington, arphaman Reviewed By: jroelofs Subscribers: jroelofs, aemerson, srhines, nemanjai, llvm-commits, mgorny Differential Revision: https://reviews.llvm.org/D30802 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@298339 91177308-0d34-0410-b5e6-96231b3b80d8
2017-03-11Revert "[Builtin] Implement lit-test support"Weiming Zhao
Due to test failure of check-builtins for aarch64 and armhf. This reverts commit r297566. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@297569 91177308-0d34-0410-b5e6-96231b3b80d8
2017-03-11[Builtin] Implement lit-test supportWeiming Zhao
Summary: This patch implements a initial support of lit test for builtins. Unit/arm/call_apsr.S is updated to support thumb1. It also fixes a bug in arm/aeabi_uldivmod_test.c gcc_personality_test is XFAILED as the framework cannot handle it so far. cpu_model_test is also XFAILED for now as it is expected to return non-zero. Reviewers: rengolin, compnerd, jroelofs, erik.pilkington, arphaman Reviewed By: jroelofs Subscribers: jroelofs, aemerson, srhines, nemanjai, llvm-commits, mgorny Differential Revision: https://reviews.llvm.org/D30802 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@297566 91177308-0d34-0410-b5e6-96231b3b80d8
2015-04-24Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittestsDerek Schuff
Summary: This makes their local declarations match their definitions for ARM targets, where they have a different calling convention. This really only affects functions that use floating point types (since the runtime functions use soft-float, and some targets may default to hard-float) but it seemed good to make it uniform and do the int-only ones too. Differential Revision: http://reviews.llvm.org/D9062 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@235722 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-29Implement __trunctfdf2 and __trunctfsf2 for IEEE quad precision.Joerg Sonnenberger
Patch by: GuanHong Liu Differential Revision: http://reviews.llvm.org/D2803 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209782 91177308-0d34-0410-b5e6-96231b3b80d8