summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-09-27 19:12:31 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-09-27 19:12:31 +0000
commit2b909917155c3fc2e1ee1550c934ce5be1af09df (patch)
tree8d08ad9d9fbb693836e56ca3b2eb93a58eeeab7a
parent515106ebc07227b85336816ef77bc39506b8fd26 (diff)
downloadcompiler-rt-2b909917155c3fc2e1ee1550c934ce5be1af09df.tar.gz
builtins: use thumb-2 if possible on comparesf2
This code can be built with thumb-2 like many of the other builtin routines. Enable that here as well. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@282530 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/builtins/arm/comparesf2.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/builtins/arm/comparesf2.S b/lib/builtins/arm/comparesf2.S
index 52597b673..6d7019545 100644
--- a/lib/builtins/arm/comparesf2.S
+++ b/lib/builtins/arm/comparesf2.S
@@ -39,6 +39,9 @@
#include "../assembly.h"
.syntax unified
+#if __ARM_ARCH_ISA_THUMB == 2
+.thumb
+#endif
.p2align 2
DEFINE_COMPILERRT_FUNCTION(__eqsf2)