diff options
Diffstat (limited to 'test/monniaux/madd/madd.c')
-rw-r--r-- | test/monniaux/madd/madd.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/monniaux/madd/madd.c b/test/monniaux/madd/madd.c new file mode 100644 index 00000000..f847edf3 --- /dev/null +++ b/test/monniaux/madd/madd.c @@ -0,0 +1,11 @@ +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; +} |