On Tue, May 17, 2016 at 3:28 PM, Matthew Wahab <matthew.wa...@foss.arm.com> wrote: > The FP16 extension introduced with the ARMv8.2-A architecture adds > instructions operating on FP16 values to the VFP and NEON instruction > sets. > > The patch adds the feature macro __ARM_FEATURE_FP16_SCALAR_ARITHMETIC > which is defined to be 1 if the VFP FP16 instructions are available; it > is otherwise undefined. > > The patch also adds the feature macro __ARM_FEATURE_FP16_VECTOR_ARITHMETIC > which is defined to be 1 if the NEON FP16 instructions are available; it > is otherwise undefined. > > These two macros will appear in a future version of the ACLE. > > Tested the series for arm-none-linux-gnueabihf with native bootstrap and > make check and for arm-none-eabi and armeb-none-eabi with make check on > an ARMv8.2-A emulator. > > Ok for trunk? > Matthew > > 2016-05-17 Matthew Wahab <matthew.wa...@arm.com> > > * config/arm/arm-c.c (arm_cpu_builtins): Define > "__ARM_FEATURE_FP16_SCALAR_ARITHMETIC" and > "__ARM_FEATURE_FP16_VECTOR_ARITHMETIC". > > testsuite/ > 2016-05-17 Matthew Wahab <matthew.wa...@arm.com> > > * gcc.target/arm/attr-fp16-arith-1.c: New. >
OK. Ramana