aboutsummaryrefslogtreecommitdiffstats
path: root/test/c/mandelbrot.c
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2019-09-25 14:37:23 +0200
committerCyril SIX <cyril.six@kalray.eu>2019-09-25 14:37:23 +0200
commit5ca4b192499ee4829aee1256a3bebf2318c68108 (patch)
tree980d8c7605c383c52b03e3345f8a58cc1f97e52e /test/c/mandelbrot.c
parent32f18c9068b4f23997733df68960f4f6c73a7ff4 (diff)
downloadcompcert-kvx-5ca4b192499ee4829aee1256a3bebf2318c68108.tar.gz
compcert-kvx-5ca4b192499ee4829aee1256a3bebf2318c68108.zip
Restored previous input sizes for other backends
Diffstat (limited to 'test/c/mandelbrot.c')
-rw-r--r--test/c/mandelbrot.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/c/mandelbrot.c b/test/c/mandelbrot.c
index 84fae15c..133d55c5 100644
--- a/test/c/mandelbrot.c
+++ b/test/c/mandelbrot.c
@@ -17,12 +17,20 @@ int main (int argc, char **argv)
{
int w, h, bit_num = 0;
char byte_acc = 0;
+#ifdef __K1C__
int i, iter = 30;
+#else
+ int i, iter = 50;
+#endif
double x, y, limit = 2.0;
double Zr, Zi, Cr, Ci, Tr, Ti;
if (argc < 2) {
+#ifdef __K1C__
w = h = 50;
+#else
+ w = h = 1000;
+#endif
} else {
w = h = atoi(argv[1]);
}