[PATCH][AArch64] Add missing fcsel in Cortex-A57 scheduler

Kyrill Tkachov kyrylo.tkachov@foss.arm.com
Mon Jun 6 16:22:00 GMT 2016


On 02/06/16 17:09, Wilco Dijkstra wrote:
> The Cortex-A57 scheduler is missing fcsel, so add it.
>
> OK for commit?
>
> ChangeLog:
> 2016-06-02  Wilco Dijkstra  <wdijkstr@arm.com>
>
> 	* config/arm/cortex-a57.md (cortex_a57_fp_cpys): Add fcsel.

Ok from an arm perspective too.

Thanks,
Kyrill


> ---
> diff --git a/gcc/config/arm/cortex-a57.md b/gcc/config/arm/cortex-a57.md
> index 37912db464315a0d70835b81991e8e07a4d9db89..9b5970a0b647abc364b733cb4e2e22ae03056235 100644
> --- a/gcc/config/arm/cortex-a57.md
> +++ b/gcc/config/arm/cortex-a57.md
> @@ -726,7 +726,7 @@
>   
>   (define_insn_reservation "cortex_a57_fp_cpys" 4
>     (and (eq_attr "tune" "cortexa57")
> -       (eq_attr "type" "fmov"))
> +       (eq_attr "type" "fmov,fcsel"))
>     "(ca57_cx1|ca57_cx2)")
>   
>   (define_insn_reservation "cortex_a57_fp_divs" 12
>



More information about the Gcc-patches mailing list