[PATCH] [ARC] Add builtins for identifying floating point support

Programming / Compilers / GCC - claziss [138bc75d-0d04-0410-961f-82ee72b054a4] - 6 November 2019 12:28 EST

Currently for hard float we need to check for __ARC_FPU_SP__ || __ARC_FPU_DP__ and for soft float inverse of that. So define single convenience macros for either cases.

gcc/ xxxx-xx-xx Vineet Gupta

- config/arc/arc-c.c (arc_cpu_cpp_builtins): Add __arc_hard_float__, __ARC_HARD_FLOAT__, __arc_soft_float__, __ARC_SOFT_FLOAT__

f087dd8b200 [PATCH] [ARC] Add builtins for identifying floating point support
gcc/ChangeLog | 6 ++++++
gcc/config/arc/arc-c.c | 10 ++++++++++
2 files changed, 16 insertions(+)

Upstream: gcc.gnu.org


  • Share