diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2020-05-26 22:11:32 +0200 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2020-05-26 22:11:32 +0200 |
commit | bc1e43ea95b9455cdccee442db77bc5fafd3dcc6 (patch) | |
tree | 4e82b5f50870603f42ec46d57e543c3e10fb1f4f /test/kvx/interop/i64.c | |
parent | b4a08d0815342b6238d307864f0823d0f07bb691 (diff) | |
download | compcert-kvx-bc1e43ea95b9455cdccee442db77bc5fafd3dcc6.tar.gz compcert-kvx-bc1e43ea95b9455cdccee442db77bc5fafd3dcc6.zip |
tests for kvx
Diffstat (limited to 'test/kvx/interop/i64.c')
-rw-r--r-- | test/kvx/interop/i64.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/kvx/interop/i64.c b/test/kvx/interop/i64.c new file mode 100644 index 00000000..3e7240f7 --- /dev/null +++ b/test/kvx/interop/i64.c @@ -0,0 +1,14 @@ +#include "framework.h" +#include "common.h" + +BEGIN_TEST(long long) + c = ll_manyllargs(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 += ll_multillargs(a, b, a-b, a+b); + c += ll_onellarg(a); + c = ll_void(); + c += a; + void_void(); + c += a; +END_TEST64() |