aboutsummaryrefslogtreecommitdiffstats
path: root/test/mppa/instr/f64.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/mppa/instr/f64.c')
-rw-r--r--test/mppa/instr/f64.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/mppa/instr/f64.c b/test/mppa/instr/f64.c
new file mode 100644
index 00000000..be8094c9
--- /dev/null
+++ b/test/mppa/instr/f64.c
@@ -0,0 +1,8 @@
+#include "framework.h"
+
+BEGIN_TEST(double)
+ c = ((double)a + (double)b);
+ c += ((double)a * (double)b);
+ c += (-(double)a);
+ c += ((double)a - (double)b);
+END_TESTF64()