This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH][GCC][AArch64] optimize float immediate moves (1 /4) - infrastructure.
- From: Tamar Christina <Tamar dot Christina at arm dot com>
- To: Bin.Cheng <amker dot cheng at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, nd <nd at arm dot com>, James Greenhalgh <James dot Greenhalgh at arm dot com>, Marcus Shawcroft <Marcus dot Shawcroft at arm dot com>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>
- Date: Tue, 1 Aug 2017 11:19:32 +0000
- Subject: RE: [PATCH][GCC][AArch64] optimize float immediate moves (1 /4) - infrastructure.
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Tamar dot Christina at arm dot com;
- Nodisclaimer: True
- References: <VI1PR0801MB203164A5E1F6B6EDA0F2074AFFC80@VI1PR0801MB2031.eurprd08.prod.outlook.com> <CAHFci28i+-+EDpd0UAEPhd7JXT+x9VE-mUmUYv1f7hP6nNT-qQ@mail.gmail.com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Hi Bin,
> Hi,
> I saw below failure after svn+ssh://gcc.gnu.org/svn/gcc/trunk@250672
>
> FAIL: gcc.target/aarch64/advsimd-intrinsics/vcvt_high_1.c -O1
> (internal compiler error)
This should be fixed by r 250766
Cheers,
Tamar
>
> Regression in patch updates?
>
> Thanks,
> bin
> >
> > OK for trunk?
> >
> > Thanks,
> > Tamar
> >
> >
> > gcc/
> > 2017-06-07 Tamar Christina <tamar.christina@arm.com>
> >
> > * config/aarch64/aarch64.c
> > (aarch64_simd_container_mode): Add prototype.
> > (aarch64_expand_mov_immediate): Add HI support.
> > (aarch64_reinterpret_float_as_int, aarch64_float_const_rtx_p: New.
> > (aarch64_can_const_movi_rtx_p): New.
> > (aarch64_preferred_reload_class):
> > Remove restrictions of using FP registers for certain SIMD operations.
> > (aarch64_rtx_costs): Added new cost for CONST_DOUBLE moves.
> > (aarch64_valid_floating_const): Add integer move validation.
> > (aarch64_simd_imm_scalar_p): Remove.
> > (aarch64_output_scalar_simd_mov_immediate): Generalize function.
> > (aarch64_legitimate_constant_p): Expand list of supported cases.
> > * config/aarch64/aarch64-protos.h
> > (aarch64_float_const_rtx_p, aarch64_can_const_movi_rtx_p): New.
> > (aarch64_reinterpret_float_as_int): New.
> > (aarch64_simd_imm_scalar_p): Remove.
> > * config/aarch64/predicates.md (aarch64_reg_or_fp_float): New.
> > * config/aarch64/constraints.md (Uvi): New.
> > (Dd): Split into Ds and new Dd.
> > * config/aarch64/aarch64.md (*movsi_aarch64):
> > Add SIMD mov case.
> > (*movdi_aarch64): Add SIMD mov case.