aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/madd
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-03-19 20:41:23 +0100
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-03-19 20:41:23 +0100
commitae571e2467e977f03044d750568f6528d8d64e43 (patch)
tree8e9d2a1f19662c18fa2f8df8a0d8c77d91158e5d /test/monniaux/madd
parentf2e7e95f6e113edbcb80618a0f3b4c15caa6f5cd (diff)
downloadcompcert-kvx-ae571e2467e977f03044d750568f6528d8d64e43.tar.gz
compcert-kvx-ae571e2467e977f03044d750568f6528d8d64e43.zip
mul immediate begin
Diffstat (limited to 'test/monniaux/madd')
-rw-r--r--test/monniaux/madd/madd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/monniaux/madd/madd.c b/test/monniaux/madd/madd.c
index e1e5eeb7..f847edf3 100644
--- a/test/monniaux/madd/madd.c
+++ b/test/monniaux/madd/madd.c
@@ -2,6 +2,10 @@ unsigned madd(unsigned a, unsigned b, unsigned c) {
return a + b*c;
}
+unsigned maddimm(unsigned a, unsigned b) {
+ return a + b*17113;
+}
+
unsigned madd2(unsigned a, unsigned b, unsigned c) {
return c + b*a;
}