diff options
author | Cyril SIX <cyril.six@kalray.eu> | 2019-03-22 11:10:11 +0100 |
---|---|---|
committer | Cyril SIX <cyril.six@kalray.eu> | 2019-03-22 11:10:11 +0100 |
commit | 4f45e2926fa9d0dba400ec6b6a1506c898cad13d (patch) | |
tree | af88ffeec69c62f6df1bd99fbea591168c631186 /test/mppa/instr/individual/doubleconv.c | |
parent | 49ea6f7d4b9e18f8aa740d068bb3fb9e49596e00 (diff) | |
download | compcert-kvx-4f45e2926fa9d0dba400ec6b6a1506c898cad13d.tar.gz compcert-kvx-4f45e2926fa9d0dba400ec6b6a1506c898cad13d.zip |
Reorganized the test/mppa/ tests to have fewer of them
Diffstat (limited to 'test/mppa/instr/individual/doubleconv.c')
-rw-r--r-- | test/mppa/instr/individual/doubleconv.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/mppa/instr/individual/doubleconv.c b/test/mppa/instr/individual/doubleconv.c new file mode 100644 index 00000000..55b1ddab --- /dev/null +++ b/test/mppa/instr/individual/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_TEST64() |