aboutsummaryrefslogtreecommitdiff
path: root/utils/h48_to_avx.c
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-11-02 18:44:52 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2023-11-02 18:44:52 +0100
commita2b8556e3cdc59bbb4a89c2779d2094db975eaa5 (patch)
tree8d212d7e4a08113e5acaa288190d9931a114f06c /utils/h48_to_avx.c
parentf034efca545cd215e878f525310910b27db24f36 (diff)
downloadnissy-core-a2b8556e3cdc59bbb4a89c2779d2094db975eaa5.tar.gz
nissy-core-a2b8556e3cdc59bbb4a89c2779d2094db975eaa5.zip
Added transformations for avx2
Diffstat (limited to '')
-rw-r--r--utils/h48_to_avx.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/utils/h48_to_avx.c b/utils/h48_to_avx.c
new file mode 100644
index 0000000..e1d8c2e
--- /dev/null
+++ b/utils/h48_to_avx.c
@@ -0,0 +1,19 @@
1#include <stdio.h>
2#include <inttypes.h>
3#include <stdbool.h>
4
5#include "../src/cube.h"
6
7#define STRLENMAX 1000
8
9int main() {
10 char str[STRLENMAX];
11 cube_t cube;
12
13 fgets(str, STRLENMAX, stdin);
14 cube = readcube(H48, str);
15 writecube(AVX, cube, str);
16 fputs(str, stdout);
17
18 return 0;
19}

Generated with cgit - Back to sebastiano.tronto.net