This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [AArch64] Add vector int to float conversions.


On 26 April 2013 14:22, James Greenhalgh <james.greenhalgh@arm.com> wrote:
>
> Hi,
>
> This patch wires up builtins for int to float conversions in
> Tree, and uint to float conversions in RTL.
>
> Regression tested for aarch64-none-elf with no regressions.
>
> Thanks,
> James
>
> ---
> gcc/
>
> 2013-04-26  James Greenhalgh  <james.greenhalgh@arm.com>
>
>         * config/aarch64/aarch64-builtins.c
>         (aarch64_fold_builtin): Fold float conversions.
>         * config/aarch64/aarch64-simd-builtins.def
>         (floatv2si, floatv4si, floatv2di): New.
>         (floatunsv2si, floatunsv4si, floatunsv2di): Likewise.
>         * config/aarch64/aarch64-simd.md
>         (<optab><fcvt_target><VDQF:mode>2): New, expands to float and floatuns.
>         * config/aarch64/iterators.md (FLOATUORS): New.
>         (optab): Add float, floatuns.
>         (su_optab): Likewise.


OK
/Marcus


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]