aboutsummaryrefslogtreecommitdiff
path: root/pl/math/test/testcases/directed/erff.tst
diff options
context:
space:
mode:
authorPierre Blanchard <pierre.blanchard@arm.com>2022-03-25 15:04:38 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-03-25 15:54:23 +0000
commit82c8c8aeb2875223f63fc83187b0e8dd36fc8afe (patch)
treef33fe353b716ee607ccf5613bbcd446f43ed4c29 /pl/math/test/testcases/directed/erff.tst
parent4c32619682de9d8632fe039153a3e26a6f095482 (diff)
downloadarm-optimized-routines-82c8c8aeb2875223f63fc83187b0e8dd36fc8afe.tar.gz
Add build system and infra for the pl directory
- pl/ is built from top-level Makefile by adding pl to SUBS - PLSUBS lists all pl/ subdirectories that can be built, it only contains math for now. Please modify this list in the top-level config.mk. - pl libraries and infrastructure is built in build/pl/ - As a result math/ and pl/math generate separate test and bench binaries. - Use infrastructure provided in math/test to test and profile pl/math routines. The build system ensures the appropriate header files are first copied to build/pl/include/test to define wrappers and entries in ulp and mathbench. - Copyied scalar erff from math/ to pl/math/ to show build system is functional. - pl mathlib libraries are built separately to the main/portable mathlib libraries and installed alongside.
Diffstat (limited to 'pl/math/test/testcases/directed/erff.tst')
-rw-r--r--pl/math/test/testcases/directed/erff.tst17
1 files changed, 17 insertions, 0 deletions
diff --git a/pl/math/test/testcases/directed/erff.tst b/pl/math/test/testcases/directed/erff.tst
new file mode 100644
index 0000000..48a3d6e
--- /dev/null
+++ b/pl/math/test/testcases/directed/erff.tst
@@ -0,0 +1,17 @@
+; erff.tst
+;
+; Copyright (c) 2007-2022, Arm Limited.
+; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
+
+func=erff op1=7fc00001 result=7fc00001 errno=0
+func=erff op1=ffc00001 result=7fc00001 errno=0
+func=erff op1=7f800001 result=7fc00001 errno=0 status=i
+func=erff op1=ff800001 result=7fc00001 errno=0 status=i
+func=erff op1=7f800000 result=3f800000 errno=0
+func=erff op1=ff800000 result=bf800000 errno=0
+func=erff op1=00000000 result=00000000 errno=ERANGE
+func=erff op1=80000000 result=80000000 errno=ERANGE
+func=erff op1=00000001 result=00000001 errno=0 status=ux
+func=erff op1=80000001 result=80000001 errno=0 status=ux
+func=erff op1=3f800000 result=3f57bb3d.3a0 errno=0
+func=erff op1=bf800000 result=bf57bb3d.3a0 errno=0