Introduce simd32_t type.

Discontinue use of disagreeable __SIMD #define.
This commit is contained in:
Jared Boone
2017-01-06 16:57:36 -08:00
parent 1986d1faca
commit 05eb694c0a
5 changed files with 83 additions and 60 deletions

View File

@@ -125,12 +125,6 @@ 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.
*/