Skip to content

Commit 69d4b8e

Browse files
Added new ARM_DSP_ATTRIBUTE compilation define. (ARM-software#188)
* Added new ARM_DSP_ATTRIBUTE compilation define (to set function as weak symbols). * Added new ARM_DSP_TABLE_ATTRIBUTE compilation define (to set constant table section) * Added ARM_DSP_CUSTOM_CONFIG to include a "arm_dsp_config.h" than can be used to set previous flags (if not given on command line)
1 parent 3be81f2 commit 69d4b8e

File tree

667 files changed

+1537
-1518
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

667 files changed

+1537
-1518
lines changed

ComputeLibrary/Include/NEMath.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2222
* SOFTWARE.
2323
*/
24-
#ifndef __ARM_COMPUTE_NEMATH_H__
25-
#define __ARM_COMPUTE_NEMATH_H__
24+
#ifndef ARM_COMPUTE_NEMATH_H__
25+
#define ARM_COMPUTE_NEMATH_H__
2626

2727

2828
#if defined(ARM_MATH_NEON)

Include/arm_common_tables.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
* limitations under the License.
2727
*/
2828

29-
#ifndef _ARM_COMMON_TABLES_H
30-
#define _ARM_COMMON_TABLES_H
29+
#ifndef ARM_COMMON_TABLES_H
30+
#define ARM_COMMON_TABLES_H
3131

3232
#include "arm_math_types.h"
3333
#include "dsp/fast_math_functions.h"

Include/arm_common_tables_f16.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
* limitations under the License.
2727
*/
2828

29-
#ifndef _ARM_COMMON_TABLES_F16_H
30-
#define _ARM_COMMON_TABLES_F16_H
29+
#ifndef ARM_COMMON_TABLES_F16_H
30+
#define ARM_COMMON_TABLES_F16_H
3131

3232
#include "arm_math_types_f16.h"
3333

Include/arm_const_structs.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
* limitations under the License.
2828
*/
2929

30-
#ifndef _ARM_CONST_STRUCTS_H
31-
#define _ARM_CONST_STRUCTS_H
30+
#ifndef ARM_CONST_STRUCTS_H
31+
#define ARM_CONST_STRUCTS_H
3232

3333
#include "arm_math_types.h"
3434
#include "arm_common_tables.h"

Include/arm_const_structs_f16.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
* limitations under the License.
2828
*/
2929

30-
#ifndef _ARM_CONST_STRUCTS_F16_H
31-
#define _ARM_CONST_STRUCTS_F16_H
30+
#ifndef ARM_CONST_STRUCTS_F16_H
31+
#define ARM_CONST_STRUCTS_F16_H
3232

3333
#include "arm_math_types_f16.h"
3434
#include "arm_common_tables.h"

Include/arm_helium_utils.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
* limitations under the License.
2727
*/
2828

29-
#ifndef _ARM_UTILS_HELIUM_H_
30-
#define _ARM_UTILS_HELIUM_H_
29+
#ifndef ARM_UTILS_HELIUM_H_
30+
#define ARM_UTILS_HELIUM_H_
3131

3232

3333
#ifdef __cplusplus

Include/arm_math.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
*/
2525

2626

27-
#ifndef _ARM_MATH_H
28-
#define _ARM_MATH_H
27+
#ifndef ARM_MATH_H
28+
#define ARM_MATH_H
2929

3030

3131
#include "arm_math_types.h"

Include/arm_math_f16.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
* limitations under the License.
2424
*/
2525

26-
#ifndef _ARM_MATH_F16_H
27-
#define _ARM_MATH_F16_H
26+
#ifndef ARM_MATH_F16_H
27+
#define ARM_MATH_F16_H
2828

2929
#include "arm_math.h"
3030

Include/arm_math_memory.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
* limitations under the License.
2424
*/
2525

26-
#ifndef _ARM_MATH_MEMORY_H_
26+
#ifndef ARM_MATH_MEMORY_H_
2727

28-
#define _ARM_MATH_MEMORY_H_
28+
#define ARM_MATH_MEMORY_H_
2929

3030
#include "arm_math_types.h"
3131

Include/arm_math_types.h

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,21 @@
2323
* limitations under the License.
2424
*/
2525

26-
#ifndef _ARM_MATH_TYPES_H_
26+
#ifndef ARM_MATH_TYPES_H_
2727

28-
#define _ARM_MATH_TYPES_H_
28+
#define ARM_MATH_TYPES_H_
29+
30+
#if defined(ARM_DSP_CUSTOM_CONFIG)
31+
#include "arm_dsp_config.h"
32+
#endif
33+
34+
#ifndef ARM_DSP_ATTRIBUTE
35+
#define ARM_DSP_ATTRIBUTE
36+
#endif
37+
38+
#ifndef ARM_DSP_TABLE_ATTRIBUTE
39+
#define ARM_DSP_TABLE_ATTRIBUTE
40+
#endif
2941

3042
#ifdef __cplusplus
3143
extern "C"

0 commit comments

Comments
 (0)