0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 19:23:51 +01:00
Files
fm95/lib/optimization.h

13 lines
287 B
C

#pragma once
#if defined(__ARM_NEON) || defined(__ARM_NEON__)
#ifdef DEBUG
#pragma message("Using ARM NEON optimizations")
#endif
#include <arm_neon.h>
#define USE_NEON 1
#else
#ifdef DEBUG
#pragma message("ARM NEON optimizations not available")
#endif
#define USE_NEON 0
#endif