This is the mail archive of the 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: [PATCH][GCC][AArch64] Limit movmem copies to TImode copies.

Hi Thomas,

Thanks for the review.

I’ll correct the typo before committing if I have no other changes required by a maintainer.


From: Thomas Preudhomme <>
Sent: Monday, August 13, 2018 14:37
To: Tamar Christina <>
Cc:; nd <>; James Greenhalgh <>; Richard Earnshaw <>; Marcus Shawcroft <>
Subject: Re: [PATCH][GCC][AArch64] Limit movmem copies to TImode copies.

Hi Tamar,

Thanks for your patch.

Just one comment about your ChangeLog entry for the testsuiet change: shouldn't it mention that it is a new testcase? The patch you attached seems to create the file.

Best regards,


On Mon, 13 Aug 2018 at 10:33, Tamar Christina <<>> wrote:
Hi All,

On AArch64 we have integer modes larger than TImode, and while we can generate
moves for these they're not as efficient.

So instead make sure we limit the maximum we can copy to TImode.  This means
copying a 16 byte struct will issue 1 TImode copy, which will be done using a
single STP as we expect but an CImode sized copy won't issue CImode operations.

Bootstrapped and regtested on aarch4-none-linux-gnu and no issues.
Crosstested aarch4_be-none-elf and no issues.

Ok for trunk?


2018-08-13  Tamar Christina  <<>>

        * config/aarch64/aarch64.c (aarch64_expand_movmem): Set TImode max.

2018-08-13  Tamar Christina  <<>>

        * Add assembler scan.


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