From 4e8b817aa6dc7af1b5fe23a4aa2daedfbb6322f4 Mon Sep 17 00:00:00 2001 From: Anh Nguyen-Tuong <zenpoems@gmail.com> Date: Tue, 19 Mar 2019 21:43:44 -0400 Subject: [PATCH] Cleanup micro-benchmarks --- tools/laf/test/test.c | 12 ------------ tools/laf/test/test2.c | 12 ------------ tools/laf/test/test4.c | 20 -------------------- 3 files changed, 44 deletions(-) delete mode 100644 tools/laf/test/test.c delete mode 100644 tools/laf/test/test2.c delete mode 100644 tools/laf/test/test4.c diff --git a/tools/laf/test/test.c b/tools/laf/test/test.c deleted file mode 100644 index 4fd335a..0000000 --- a/tools/laf/test/test.c +++ /dev/null @@ -1,12 +0,0 @@ -#include <iostream> -#include <stdio.h> -#include <stdlib.h> - -int main(int argc, char **argv) -{ - int x = 0; - std::cin >> std::hex >> x; - if (x == 0x01000000) - abort(); - return 0; -} diff --git a/tools/laf/test/test2.c b/tools/laf/test/test2.c deleted file mode 100644 index 449004a..0000000 --- a/tools/laf/test/test2.c +++ /dev/null @@ -1,12 +0,0 @@ -#include <iostream> -#include <stdio.h> -#include <stdlib.h> - -int main(int argc, char **argv) -{ - int x = 0; - std::cin >> std::hex >> x; - if (x == 0x12345678) - abort(); - return 0; -} diff --git a/tools/laf/test/test4.c b/tools/laf/test/test4.c deleted file mode 100644 index 6b242c8..0000000 --- a/tools/laf/test/test4.c +++ /dev/null @@ -1,20 +0,0 @@ -#include <unistd.h> -#include <iostream> -#include <stdio.h> -#include <stdlib.h> - -int main(int argc, char **argv) -{ - int x; - - read(0, &x, 4); -// if (x == 33620225) // 0x02010101 -// if (x == 3791716609) // 0xe2010101 -// if (x == 16843057) -// if (x == 16851249) -// if (x == 0x7c3f) - if (x == 0x237c3f) -// if (x == 0x3f7c1234) - abort(); - return 0; -} -- GitLab