diff options
author | Cyril SIX <cyril.six@kalray.eu> | 2018-11-13 11:44:56 +0100 |
---|---|---|
committer | Cyril SIX <cyril.six@kalray.eu> | 2018-11-13 11:44:56 +0100 |
commit | d15b2c014daf547e10504278ae42d4651dc71319 (patch) | |
tree | 51e639c72c8d9b902621f1c27baf869da263d57e /test/mppa/instr/lbs.c | |
parent | f24d303df6cb125ca19b953bb364955cc6e8c246 (diff) | |
download | compcert-kvx-d15b2c014daf547e10504278ae42d4651dc71319.tar.gz compcert-kvx-d15b2c014daf547e10504278ae42d4651dc71319.zip |
Revamped the instruction testsuite (all instructions work except umodd and udivd)
Diffstat (limited to 'test/mppa/instr/lbs.c')
-rw-r--r-- | test/mppa/instr/lbs.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/mppa/instr/lbs.c b/test/mppa/instr/lbs.c new file mode 100644 index 00000000..f104d62b --- /dev/null +++ b/test/mppa/instr/lbs.c @@ -0,0 +1,9 @@ +#include "framework.h" + +BEGIN_TEST(int) +{ + char s[] = "Tome and Cherry at the playa\n"; + + c = s[(a & (sizeof(s)-1))]; +} +END_TEST() |