Reverted to SIMD macros to fix FM RX (again)

This commit is contained in:
furrtek
2017-04-19 00:49:44 +01:00
parent 3a1e5b8772
commit a053c0e234
4 changed files with 57 additions and 54 deletions

View File

@@ -125,6 +125,12 @@ typedef enum IRQn {
#ifdef __cplusplus
/* NOTE: Override old, misbehaving SIMD #defines */
#define __SIMD32_TYPE int32_t
#define __SIMD32(addr) (*(__SIMD32_TYPE **) & (addr))
#define _SIMD32_OFFSET(addr) (*(__SIMD32_TYPE *) (addr))
/* Overload of __SXTB16() to add ROR argument, since using __ROR() as an
* argument to the existing __SXTB16() doesn't produce optimum/sane code.
*/