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/mppa/instr/builtin64.c | |
parent | b4a08d0815342b6238d307864f0823d0f07bb691 (diff) | |
download | compcert-kvx-bc1e43ea95b9455cdccee442db77bc5fafd3dcc6.tar.gz compcert-kvx-bc1e43ea95b9455cdccee442db77bc5fafd3dcc6.zip |
tests for kvx
Diffstat (limited to 'test/mppa/instr/builtin64.c')
-rw-r--r-- | test/mppa/instr/builtin64.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/test/mppa/instr/builtin64.c b/test/mppa/instr/builtin64.c deleted file mode 100644 index 252eb2c6..00000000 --- a/test/mppa/instr/builtin64.c +++ /dev/null @@ -1,17 +0,0 @@ -#include "framework.h" - -BEGIN_TEST(long long) - long long *ptr = &c; -#ifdef __KVX__ - long long d = c; - a = __builtin_kvx_alclrd(ptr); - c = d; - c += a; - - c += __builtin_clzll(a); - - /* Removed the AFADDD builtin who was incorrect in CompCert, see #157 */ - // a = __builtin_kvx_afaddd(ptr, a); - // a = __builtin_kvx_afaddd(ptr, a); -#endif -END_TEST64() |