aboutsummaryrefslogtreecommitdiffstats
path: root/test/c/perlin.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/perlin.c
parent32f18c9068b4f23997733df68960f4f6c73a7ff4 (diff)
downloadcompcert-kvx-5ca4b192499ee4829aee1256a3bebf2318c68108.tar.gz
compcert-kvx-5ca4b192499ee4829aee1256a3bebf2318c68108.zip
Restored previous input sizes for other backends
Diffstat (limited to 'test/c/perlin.c')
-rw-r--r--test/c/perlin.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/c/perlin.c b/test/c/perlin.c
index 79d49d62..29ebf964 100644
--- a/test/c/perlin.c
+++ b/test/c/perlin.c
@@ -63,9 +63,15 @@ static void init(void) {
p[256+i] = p[i] = permutation[i];
}
+#ifdef __K1C__
#define INCREMENT 0.5
#define MIN -3.0
#define MAX 3.0
+#else
+#define INCREMENT 0.1
+#define MIN -5.0
+#define MAX 5.0
+#endif
int main(int argc, char ** argv) {
init();