From 88d82c6eaee88398af1de57cddca692a1f74b087 Mon Sep 17 00:00:00 2001 From: Uneven Prankster Date: Mon, 17 Jul 2023 01:34:34 -0300 Subject: Cleanup feels good! Big work coming up this week. --- tinycc/tests/boundtest.c | 309 ----------------------------------------------- 1 file changed, 309 deletions(-) delete mode 100644 tinycc/tests/boundtest.c (limited to 'tinycc/tests/boundtest.c') diff --git a/tinycc/tests/boundtest.c b/tinycc/tests/boundtest.c deleted file mode 100644 index e4b2ab1..0000000 --- a/tinycc/tests/boundtest.c +++ /dev/null @@ -1,309 +0,0 @@ -#include -#include -#include - -#define NB_ITS 1000000 -//#define NB_ITS 1 -#define TAB_SIZE 100 - -int tab[TAB_SIZE]; -int ret_sum; -char tab3[256]; - -int test1(void) -{ - int i, sum = 0; - for(i=0;i= 2) - index = atoi(argv[1]) - 1; - - if ((index < 0) || (index >= index_max)) { - printf("N is outside of the valid range (%d)\n", index); - exit(2); - } - - /* well, we also use bounds on this ! */ - ftest = table_test[index]; - ftest(); - - return 0; -} - -/* - * without bound 0.77 s - * with bounds 4.73 - */ -- cgit v1.2.3