diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2019-03-19 19:35:30 +0100 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2019-03-19 19:35:30 +0100 |
commit | 196dbf8e545e0bed39696434c0425806b00da6e8 (patch) | |
tree | 8d7f7bec998d1ea7893e7e99d4936878b6c8a24f /test/monniaux/madd | |
parent | aca4ae1dafde6156d2cdbfedf501bef6b28f8fae (diff) | |
download | compcert-kvx-196dbf8e545e0bed39696434c0425806b00da6e8.tar.gz compcert-kvx-196dbf8e545e0bed39696434c0425806b00da6e8.zip |
seems to work
Diffstat (limited to 'test/monniaux/madd')
-rw-r--r-- | test/monniaux/madd/madd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/monniaux/madd/madd.c b/test/monniaux/madd/madd.c new file mode 100644 index 00000000..e1e5eeb7 --- /dev/null +++ b/test/monniaux/madd/madd.c @@ -0,0 +1,7 @@ +unsigned madd(unsigned a, unsigned b, unsigned c) { + return a + b*c; +} + +unsigned madd2(unsigned a, unsigned b, unsigned c) { + return c + b*a; +} |