ソースを参照

Merge pull request #222 from jhps/master

Disable definition of __ARM_FEATURE_UNALIGNED.
teensy4-core
Paul Stoffregen 8年前
コミット
5baf6a8054
1個のファイルの変更7行の追加0行の削除
  1. +7
    -0
      teensy3/memcpy-armv7m.S

+ 7
- 0
teensy3/memcpy-armv7m.S ファイルの表示



#if defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__) #if defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__)
#if defined (__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__) #if defined (__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
/*
* Let __ARM_FEATURE_UNALIGNED be set by the achitechture and the compiler flags:
* -munaligned-access
* -mno-unaligned-access
* instead of always setting it here.
*
#define __ARM_FEATURE_UNALIGNED 1 #define __ARM_FEATURE_UNALIGNED 1
*/
/* This memcpy routine is optimised for Cortex-M3/M4 cores with/without /* This memcpy routine is optimised for Cortex-M3/M4 cores with/without
unaligned access. unaligned access.

読み込み中…
キャンセル
保存