diff options
author | Cyril SIX <cyril.six@kalray.eu> | 2019-09-25 14:37:23 +0200 |
---|---|---|
committer | Cyril SIX <cyril.six@kalray.eu> | 2019-09-25 14:37:23 +0200 |
commit | 5ca4b192499ee4829aee1256a3bebf2318c68108 (patch) | |
tree | 980d8c7605c383c52b03e3345f8a58cc1f97e52e /test/c/vmach.c | |
parent | 32f18c9068b4f23997733df68960f4f6c73a7ff4 (diff) | |
download | compcert-kvx-5ca4b192499ee4829aee1256a3bebf2318c68108.tar.gz compcert-kvx-5ca4b192499ee4829aee1256a3bebf2318c68108.zip |
Restored previous input sizes for other backends
Diffstat (limited to 'test/c/vmach.c')
-rw-r--r-- | test/c/vmach.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/c/vmach.c b/test/c/vmach.c index 4e6848d2..5858d4d6 100644 --- a/test/c/vmach.c +++ b/test/c/vmach.c @@ -159,7 +159,11 @@ long wordcode_interp(unsigned int* code) #define I(a,b,c,d) ((a) + ((b) << 8) + ((c) << 16) + ((d) << 24)) +#ifdef __K1C__ #define FIBSIZE 15 +#else +#define FIBSIZE 30 +#endif unsigned int wordcode_fib[] = { /* 0 */ I(WCONST, FIBSIZE, 0, 0), @@ -178,9 +182,15 @@ unsigned int wordcode_fib[] = { /* 13 */ I(WRETURN, 0, 2, 0) }; +#ifdef __K1C__ #define TAKSIZE1 6 #define TAKSIZE2 9 #define TAKSIZE3 12 +#else +#define TAKSIZE1 6 +#define TAKSIZE2 12 +#define TAKSIZE3 18 +#endif unsigned int wordcode_tak[] = { /* 0 */ I(WCONST, TAKSIZE1, 0, 0), |