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