[PATCH] D12244: Implement ACLE 2.0 macros of chapters 6.4 and 6.5 for [ARM] and [Aarch64] targets
Oliver Stannard via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 24 06:06:01 PDT 2015
olista01 added a subscriber: olista01.
================
Comment at: lib/Basic/Targets.cpp:4685-4686
@@ +4684,4 @@
+ // ACLE 6.5.2 Half-precision (16-bit) floating-point format
+ if (HW_FP & HW_FP_HP)
+ Builder.defineMacro("__ARM_FP16_FORMAT_IEEE", "1");
+
----------------
The __fp16 type is accepted even if it is not supported by the hardware (library calls are emitted instead), so this can be defined unconditionally. I'm currently working on D12148, which also sets this and _ARM_FP16_ARGS.
http://reviews.llvm.org/D12244
More information about the cfe-commits
mailing list