On Mon, Jul 4, 2016 at 2:57 PM, Matthew Wahab
<matthew.wa...@foss.arm.com> wrote:
> On 17/05/16 15:34, Matthew Wahab wrote:
>> The ARMv8.2-A FP16 extension adds a number of instructions to support
>> data movement for FP16 values. This patch adds these instructions to the
>> backend, making them available to the compiler code generator.
>
> This updates the expected output for the test added by the patch since
> gcc now generates ldrh/strh for some indexed loads/stores which were
> previously done with vld1/vstr1.
>
> 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.
>
> 2016-07-04  Matthew Wahab  <matthew.wa...@arm.com>
>             Jiong Wang <jiong.w...@arm.com>
>
>         * config/arm/arm.c (coproc_secondary_reload_class): Make HFmode
>         available when FP16 instructions are available.
>         (output_move_vfp): Add support for 16-bit data moves.
>         (arm_validize_comparison): Fix some white-space.  Support HFmode
>         by conversion to SFmode.
>         * config/arm/arm.md (truncdfhf2): Fix a comment.
>         (extendhfdf2): Likewise.
>         (cstorehf4): New.
>         (movsicc): Fix some white-space.
>         (movhfcc): New.
>         (movsfcc): Fix some white-space.
>         (*cmovhf): New.
>         * config/arm/vfp.md (*arm_movhi_vfp): Disable when VFP FP16
>         instructions are available.
>         (*thumb2_movhi_vfp): Likewise.
>         (*arm_movhi_fp16): New.
>         (*thumb2_movhi_fp16): New.
>         (*movhf_vfp_fp16): New.
>         (*movhf_vfp_neon): Disable when VFP FP16 instructions are
>         available.
>         (*movhf_vfp): Likewise.
>         (extendhfsf2): Enable when VFP FP16 instructions are available.
>         (truncsfhf2):  Enable when VFP FP16 instructions are available.
>
> testsuite/
> 2016-07-04  Matthew Wahab  <matthew.wa...@arm.com>
>
>         * gcc.target/arm/armv8_2_fp16-move-1.c: New.
>

OK.

Thanks,
Ramana

Reply via email to