summaryrefslogtreecommitdiff
path: root/test/builtins/Unit/mulsf3vfp_test.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2017-03-17 21:56:09 +0000
committerEric Christopher <echristo@gmail.com>2017-03-17 21:56:09 +0000
commit97e140242d3085562afa1340578d5f531a82ad69 (patch)
tree01b83b21c101526f8f7a2bfe9d76b0cdc0d47284 /test/builtins/Unit/mulsf3vfp_test.c
parent55008eb10a1265ceff6252916850d451467451fd (diff)
parent708f1d628eae3fabb0f28c8469e73b3b57cdea0a (diff)
downloadcompiler-rt-97e140242d3085562afa1340578d5f531a82ad69.tar.gz
Updating branches/google/testing to r297704
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/google/testing@298145 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/builtins/Unit/mulsf3vfp_test.c')
-rw-r--r--test/builtins/Unit/mulsf3vfp_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/builtins/Unit/mulsf3vfp_test.c b/test/builtins/Unit/mulsf3vfp_test.c
index 5b0f6c143..9fe88f29b 100644
--- a/test/builtins/Unit/mulsf3vfp_test.c
+++ b/test/builtins/Unit/mulsf3vfp_test.c
@@ -19,7 +19,7 @@
extern COMPILER_RT_ABI float __mulsf3vfp(float a, float b);
-#if __arm__
+#if __arm__ && __VFP_FP__
int test__mulsf3vfp(float a, float b)
{
float actual = __mulsf3vfp(a, b);
@@ -33,7 +33,7 @@ int test__mulsf3vfp(float a, float b)
int main()
{
-#if __arm__
+#if __arm__ && __VFP_FP__
if (test__mulsf3vfp(0.5, 10.0))
return 1;
if (test__mulsf3vfp(-0.5, -2.0))