diff options
author | Cyril SIX <cyril.six@kalray.eu> | 2018-04-04 13:58:10 +0200 |
---|---|---|
committer | Cyril SIX <cyril.six@kalray.eu> | 2018-04-04 16:30:10 +0200 |
commit | ca090744f399788a81f103206947d4d56cba9d87 (patch) | |
tree | 16462b290e69695be393aa48d44ed0fe9aa8e797 /test/mppa/forvar.c | |
parent | 36076263491312d634bd0d39f8de718f32462da2 (diff) | |
download | compcert-kvx-ca090744f399788a81f103206947d4d56cba9d87.tar.gz compcert-kvx-ca090744f399788a81f103206947d4d56cba9d87.zip |
MPPA - Added non immediate comparison
Diffstat (limited to 'test/mppa/forvar.c')
-rw-r--r-- | test/mppa/forvar.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/mppa/forvar.c b/test/mppa/forvar.c new file mode 100644 index 00000000..1a075734 --- /dev/null +++ b/test/mppa/forvar.c @@ -0,0 +1,10 @@ +int main(void){ + int i; + int a = 4; + int b = 12; + + for (i = 0 ; i < b ; i++) + a++; + + return a; +} |