aboutsummaryrefslogtreecommitdiff
path: root/lib/arm/addsf3vfp.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arm/addsf3vfp.S')
-rw-r--r--lib/arm/addsf3vfp.S25
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/arm/addsf3vfp.S b/lib/arm/addsf3vfp.S
deleted file mode 100644
index 43653d5265c0..000000000000
--- a/lib/arm/addsf3vfp.S
+++ /dev/null
@@ -1,25 +0,0 @@
-//===-- addsf3vfp.S - Implement addsf3vfp ---------------------------------===//
-//
-// 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 float __addsf3vfp(float a, float b);
-//
-// Adds two single precision floating point numbers using the Darwin
-// calling convention where single arguments are passsed in GPRs
-//
- .syntax unified
- .align 2
-DEFINE_COMPILERRT_FUNCTION(__addsf3vfp)
- vmov s14, r0 // move first param from r0 into float register
- vmov s15, r1 // move second param from r1 into float register
- vadd.f32 s14, s14, s15
- vmov r0, s14 // move result back to r0
- bx lr