From adfc93550f1e4948ed4f39d52a4f6eece9c8a35d Mon Sep 17 00:00:00 2001 From: Cyril SIX Date: Tue, 12 Feb 2019 17:05:04 +0100 Subject: Added Olongoffloat, Ofloatoflong and doubleconv test --- test/mppa/instr/doubleconv.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/mppa/instr/doubleconv.c (limited to 'test/mppa') diff --git a/test/mppa/instr/doubleconv.c b/test/mppa/instr/doubleconv.c new file mode 100644 index 00000000..e40c65e5 --- /dev/null +++ b/test/mppa/instr/doubleconv.c @@ -0,0 +1,9 @@ +#include "framework.h" + +double long2double(long v){ + return v; +} + +BEGIN_TEST(long) + c = (long) long2double(a) + (long) long2double(b) + (long) long2double(42.3); +END_TEST() -- cgit