From 4f45e2926fa9d0dba400ec6b6a1506c898cad13d Mon Sep 17 00:00:00 2001 From: Cyril SIX Date: Fri, 22 Mar 2019 11:10:11 +0100 Subject: Reorganized the test/mppa/ tests to have fewer of them --- test/mppa/instr/individual/floatconv.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/mppa/instr/individual/floatconv.c (limited to 'test/mppa/instr/individual/floatconv.c') diff --git a/test/mppa/instr/individual/floatconv.c b/test/mppa/instr/individual/floatconv.c new file mode 100644 index 00000000..32b798e1 --- /dev/null +++ b/test/mppa/instr/individual/floatconv.c @@ -0,0 +1,9 @@ +#include "framework.h" + +float int2float(int v){ + return v; +} + +BEGIN_TEST(int) + c = (int) int2float(a) + (int) int2float(b) + (int) int2float(42.3); +END_TEST32() -- cgit