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/interop/i32.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/interop/i32.c')
-rw-r--r-- | test/mppa/interop/i32.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/mppa/interop/i32.c b/test/mppa/interop/i32.c new file mode 100644 index 00000000..6bc2705c --- /dev/null +++ b/test/mppa/interop/i32.c @@ -0,0 +1,13 @@ +#include "framework.h" +#include "common.h" + +BEGIN_TEST(int) + c = i_manyiargs(a, b, a-b, a+b, a*2, b*2, a*2-b, a+b*2, (a-b)*2, (a+b)*2, + -2*a, -2*b, a-b, a+b, a*3, b*3, a*3-b, a+b*3, (a-b)*3, (a+b)*3, + -3*a, -3*b, a-b, a+b, a*4, b*4, a*4-b, a+b*4, (a-b)*4, (a+b)*4); + c += i_multiiargs(a, b, a-b, a+b); + c += i_oneiarg(a); + void_void(); + c += a; +END_TEST32() + |