summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-02-16 22:19:00 -0500
committerIan Moffett <ian@osmora.org>2024-02-16 22:19:00 -0500
commit204517801a33f1bafab3ce1e80f71f41aa5f61a6 (patch)
tree99637f94145ec3f0b046bfea81c5c8f3a3992a7a /include
parent08700c01fb0fbc8089a2f681a2f95de341c0675c (diff)
Add AVX support
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'include')
-rw-r--r--include/accel.h4
-rw-r--r--include/info.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/include/accel.h b/include/accel.h
index f66e3e1..d7bdc96 100644
--- a/include/accel.h
+++ b/include/accel.h
@@ -35,4 +35,8 @@
__attribute__((naked))
void accel_invert128(uint64_t addr);
+
+__attribute__((naked))
+void accel_invert256(uint64_t addr);
+
#endif /* ACCEL_H */
diff --git a/include/info.h b/include/info.h
index c748baa..4c39266 100644
--- a/include/info.h
+++ b/include/info.h
@@ -35,6 +35,7 @@
struct cpu_info {
uint8_t has_sse2 : 1;
uint8_t has_sse3 : 1;
+ uint8_t has_avx : 1;
};
#endif /* INFO_H */