Failed attempt to fix loops not being unrolled, other fixes.

This commit is contained in:
TuxSH committed 2018-02-25 21:41:16 +01:00
1 parent ed5f43ef39
commit 969b781a68
4 files changed
+52 -41

No files matched your search

+7 -2
View File
@@ -5,8 +5,13 @@
#include <stddef.h>
#include <stdint.h>
#define BIT(x) (1u << (x))
#define BITL(x) (1ull << (x))
#define BIT(n) (1u << (n))
#define BITL(n) (1ull << (n))
#define ALIGN(m) __attribute__((aligned(m)))
#define PACKED __attribute__((packed))
#define INLINE_UNROLL __attribute__((always_inline, optimize("unroll-all-loops")))
void panic(uint32_t code);
void generic_panic(void);