From a021c497b6b48c9e022a116a78814742b1c79eef Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 25 Mar 2024 17:22:21 +0100 Subject: [PATCH] forgor to remove this --- src/m_misc.c | 2 -- src/types.h | 25 ------------------------- 2 files changed, 27 deletions(-) delete mode 100644 src/types.h diff --git a/src/m_misc.c b/src/m_misc.c index 385545601..82dae378c 100644 --- a/src/m_misc.c +++ b/src/m_misc.c @@ -51,8 +51,6 @@ #include "hardware/hw_main.h" #endif -#include "types.h" //for local_memcpy - #ifdef HAVE_SDL #include "sdl/hwsym_sdl.h" #ifdef __linux__ diff --git a/src/types.h b/src/types.h deleted file mode 100644 index c3bea8c87..000000000 --- a/src/types.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef TYPES -#define TYPES - -#include - -#define NO_INLINE __attribute__((noinline)) - -#ifdef __clang__ -typedef char char8 __attribute__((ext_vector_type(8), aligned(1))); -typedef char char16 __attribute__((ext_vector_type(16), aligned(1))); -typedef char char32 __attribute__((ext_vector_type(32), aligned(1))); -typedef char char32a __attribute__((ext_vector_type(32), aligned(32))); - -#else -// __GNUC__ -typedef char char8 __attribute__((vector_size(8), aligned(1))); -typedef char char16 __attribute__((vector_size(16), aligned(1))); -typedef char char32 __attribute__((vector_size(32), aligned(1))); -typedef char char32a __attribute__((vector_size(32), aligned(32))); -#endif - -typedef uint32_t __attribute__((aligned(1))) u32; -typedef uint64_t __attribute__((aligned(1))) u64; - -#endif // TYPES