On Mon, Jul 4, 2016 at 3:17 PM, Matthew Wahab <matthew.wa...@foss.arm.com> wrote: > On 17/05/16 15:48, Matthew Wahab wrote: >> Support for using the half-precision floating point operations added by >> the ARMv8.2-A FP16 extension is based on the macros and intrinsics added >> to the ACLE for the extension. >> >> This patch adds tests to check the compilers treatment of the ACLE >> macros and the code generated for the new intrinsics. It does not >> include the executable tests for the >> gcc.target/aarch64/advsimd-intrinsics testsuite. Those are added later >> in the patch series. > > Changes since the previous version are: > > - Fix the vsqrte/vrsqrte spelling mistake. > > - armv8_2-fp16-scalar-2.c: Set option -std=c11, needed to test that > vaddh_f16 (vmulh_f16 (a, b), c) generates a VMLA. (Options enabled > with the default -std=g11 mean that VFMA would be generated > otherwise.) > > 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
OK. regards Ramana > > testsuite/ > 2016-07-04 Matthew Wahab <matthew.wa...@arm.com> > > > * gcc.target/arm/armv8_2-fp16-neon-1.c: New. > * gcc.target/arm/armv8_2-fp16-scalar-1.c: New. > * gcc.target/arm/armv8_2-fp16-scalar-2.c: New. > * gcc.target/arm/attr-fp16-arith-1.c: Add a test of intrinsics > support. >