[PATCH] [ARC] Add builtins for identifying floating point support
authorVineet Gupta <vgupta@synopsys.com>
Wed, 6 Nov 2019 12:28:25 +0000 (12:28 +0000)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Wed, 6 Nov 2019 12:28:25 +0000 (13:28 +0100)
commit756b23a81c539aec9f8108cb8d6a6313aef02a99
tree97fb95d9bb01149d152ff1a22b496341e7bbbdbd
parent2e7a4f579b1157754ea20a03431b4fa80cd4567a
[PATCH] [ARC] Add builtins for identifying floating point support

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  <vgupta@synopsyscom>

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

From-SVN: r277878
gcc/ChangeLog
gcc/config/arc/arc-c.c