aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/ext/arm-fp16/arm-fp16-ops-4.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/g++.dg/ext/arm-fp16/arm-fp16-ops-4.C')
-rw-r--r--gcc-4.9/gcc/testsuite/g++.dg/ext/arm-fp16/arm-fp16-ops-4.C5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/g++.dg/ext/arm-fp16/arm-fp16-ops-4.C b/gcc-4.9/gcc/testsuite/g++.dg/ext/arm-fp16/arm-fp16-ops-4.C
new file mode 100644
index 000000000..4877f392c
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/g++.dg/ext/arm-fp16/arm-fp16-ops-4.C
@@ -0,0 +1,5 @@
+/* Test various operators on __fp16 and mixed __fp16/float operands. */
+/* { dg-do run { target arm*-*-* } } */
+/* { dg-options "-mfp16-format=alternative -ffast-math" } */
+
+#include "arm-fp16-ops.h"