Skip to content

Check correct ARMC6 predefine for FP codegen #9150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmsis/TARGET_CORTEX_A/core_ca.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
#endif

#elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#if defined __ARM_PCS_VFP
#if defined __ARM_FP
#if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
#define __FPU_USED 1U
#else
Expand Down
2 changes: 1 addition & 1 deletion cmsis/TARGET_CORTEX_M/core_armv8mbl.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
#endif

#elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#if defined __ARM_PCS_VFP
#if defined __ARM_FP
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif

Expand Down
2 changes: 1 addition & 1 deletion cmsis/TARGET_CORTEX_M/core_armv8mml.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
#endif

#elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#if defined __ARM_PCS_VFP
#if defined __ARM_FP
#if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
#define __FPU_USED 1U
#else
Expand Down
2 changes: 1 addition & 1 deletion cmsis/TARGET_CORTEX_M/core_cm0.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
#endif

#elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#if defined __ARM_PCS_VFP
#if defined __ARM_FP
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif

Expand Down
2 changes: 1 addition & 1 deletion cmsis/TARGET_CORTEX_M/core_cm0plus.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
#endif

#elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#if defined __ARM_PCS_VFP
#if defined __ARM_FP
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif

Expand Down
2 changes: 1 addition & 1 deletion cmsis/TARGET_CORTEX_M/core_cm1.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
#endif

#elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#if defined __ARM_PCS_VFP
#if defined __ARM_FP
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif

Expand Down
2 changes: 1 addition & 1 deletion cmsis/TARGET_CORTEX_M/core_cm23.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
#endif

#elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#if defined __ARM_PCS_VFP
#if defined __ARM_FP
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif

Expand Down
2 changes: 1 addition & 1 deletion cmsis/TARGET_CORTEX_M/core_cm3.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
#endif

#elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#if defined __ARM_PCS_VFP
#if defined __ARM_FP
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif

Expand Down
2 changes: 1 addition & 1 deletion cmsis/TARGET_CORTEX_M/core_cm33.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
#endif

#elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#if defined (__ARM_PCS_VFP)
#if defined (__ARM_FP)
#if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
#define __FPU_USED 1U
#else
Expand Down
2 changes: 1 addition & 1 deletion cmsis/TARGET_CORTEX_M/core_cm4.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
#endif

#elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#if defined __ARM_PCS_VFP
#if defined __ARM_FP
#if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
#define __FPU_USED 1U
#else
Expand Down
2 changes: 1 addition & 1 deletion cmsis/TARGET_CORTEX_M/core_cm7.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
#endif

#elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#if defined __ARM_PCS_VFP
#if defined __ARM_FP
#if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
#define __FPU_USED 1U
#else
Expand Down
2 changes: 1 addition & 1 deletion cmsis/TARGET_CORTEX_M/core_sc000.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
#endif

#elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#if defined __ARM_PCS_VFP
#if defined __ARM_FP
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif

Expand Down
2 changes: 1 addition & 1 deletion cmsis/TARGET_CORTEX_M/core_sc300.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
#endif

#elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#if defined __ARM_PCS_VFP
#if defined __ARM_FP
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif

Expand Down