This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 2/3] [AARCH64] Add scheduler for ThunderX
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: Andrew Pinski <apinski at cavium dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 14 Nov 2014 10:54:11 +0000
- Subject: Re: [PATCH 2/3] [AARCH64] Add scheduler for ThunderX
- Authentication-results: sourceware.org; auth=none
- References: <1415926574-3080-1-git-send-email-apinski at cavium dot com> <1415926574-3080-3-git-send-email-apinski at cavium dot com>
On 14 November 2014 00:56, Andrew Pinski <apinski@cavium.com> wrote:
> This adds the schedule model for ThunderX. There are a few TODOs in that
> not all of the SIMD is model currently. Also the idea of a simple
> shift/extend is not modeled and all cases where there is a shift/extend
> is considered as non simple and take up two cycles rather than correct
> value of one cycle. Also the 32bit divide and the 64bit divide
> have different cycle counts but there is no way to model that currently.
> Also multiply high takes one cycle more than the normal multiply but
> there is no way to model that currently either.
>
> Build and tested for aarch64-elf with no regressions.
>
> ChangeLog:
> * config/aarch64/aarch64-cores.def (thunderx): Change the scheduler
> over to thunderx.
> * config/aarch64/aarch64.md: Include thunderx.md.
> (generic_sched): Set to no for thunderx.
> * config/aarch64/thunderx.md: New file.
OK /Marcus