diff options
author | Cyril SIX <cyril.six@kalray.eu> | 2019-09-03 11:26:25 +0200 |
---|---|---|
committer | Cyril SIX <cyril.six@kalray.eu> | 2019-09-03 11:26:25 +0200 |
commit | e61ab603fbb538f8bd2dac543f622cafdb7cd39c (patch) | |
tree | a8f75d090a210b02663ab217d9216b8976481244 /test/mppa | |
parent | 0cb5a0b65b4fbeb5bc1c14f75951798f20500177 (diff) | |
download | compcert-kvx-e61ab603fbb538f8bd2dac543f622cafdb7cd39c.tar.gz compcert-kvx-e61ab603fbb538f8bd2dac543f622cafdb7cd39c.zip |
aclrw test
Diffstat (limited to 'test/mppa')
-rw-r--r-- | test/mppa/instr/builtin32.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/mppa/instr/builtin32.c b/test/mppa/instr/builtin32.c new file mode 100644 index 00000000..c7689dc8 --- /dev/null +++ b/test/mppa/instr/builtin32.c @@ -0,0 +1,12 @@ +#include "framework.h" + +BEGIN_TEST(int) + int *ptr = &c; +#ifdef __K1C__ + int d = c; + a = __builtin_k1_alclrw(ptr); + c = d; + +#endif +END_TEST32() + |