This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][AArch64] Improve register allocation of fma
- From: Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>
- To: Andrew Pinski <pinskia at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, nd <nd at arm dot com>
- Date: Fri, 5 Jan 2018 12:31:59 +0000
- Subject: Re: [PATCH][AArch64] Improve register allocation of fma
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Wilco dot Dijkstra at arm dot com;
- Nodisclaimer: True
- References: <DB6PR0801MB2053C98A886E390B17BF308D831F0@DB6PR0801MB2053.eurprd08.prod.outlook.com>,<CA+=Sn1noKHd-Qb087xXTdO-BoPddZBEWhe+LwSyNd0MOOeY-Bg@mail.gmail.com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Andrew Pinski wrote:
> Seems like you should do something similar to the integer madd/msub
> instructions too (aarch64_mla is already correct but aarch64_mla_elt
> needs this too).
Integer madd/msub may benefit too, however it wouldn't make a difference
for a 3-operand mla since the register allocator already forces the same
register for the destination and accumulator.
Wilco