diff options
author | Alexey Samsonov <samsonov@google.com> | 2014-02-14 09:20:33 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2014-02-14 09:20:33 +0000 |
commit | 53aa4fda49f94920139300227786ac47c393f1ce (patch) | |
tree | 6d022d04ee279fe1afd89668f346e28a9e3e1559 /lib/arm/fixunssfsivfp.S | |
parent | 6d999e478fecb10dc43f20b85385d25cc239db0a (diff) |
Move original compiler-rt functions (libgcc replacement) to lib/builtins directory
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201393 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/arm/fixunssfsivfp.S')
-rw-r--r-- | lib/arm/fixunssfsivfp.S | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/lib/arm/fixunssfsivfp.S b/lib/arm/fixunssfsivfp.S deleted file mode 100644 index f12dff61a..000000000 --- a/lib/arm/fixunssfsivfp.S +++ /dev/null @@ -1,27 +0,0 @@ -//===-- fixunssfsivfp.S - Implement fixunssfsivfp -------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is dual licensed under the MIT and the University of Illinois Open -// Source Licenses. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#include "../assembly.h" - -// -// extern unsigned int __fixunssfsivfp(float a); -// -// Converts single precision float to a 32-bit unsigned int rounding towards -// zero. All negative values become zero. -// Uses Darwin calling convention where a single precision parameter is -// passed in a GPR.. -// - .syntax unified - .align 2 -DEFINE_COMPILERRT_FUNCTION(__fixunssfsivfp) - vmov s15, r0 // load float register from R0 - vcvt.u32.f32 s15, s15 // convert single to 32-bit unsigned into s15 - vmov r0, s15 // move s15 to result register - bx lr -END_COMPILERRT_FUNCTION(__fixunssfsivfp) |