diff options
Diffstat (limited to 'test/monniaux/licm/addv.c')
-rw-r--r-- | test/monniaux/licm/addv.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/monniaux/licm/addv.c b/test/monniaux/licm/addv.c new file mode 100644 index 00000000..bb0098d0 --- /dev/null +++ b/test/monniaux/licm/addv.c @@ -0,0 +1,6 @@ +void addv(double x, double y, int n, int *z) +{ + for(int i=0; i<n; i++) { + z[i] += (int) (x*y); + } +} |