Re: [AArch64][PATCH 1/2] Make AES unspecs commutative

2018-06-21 Thread Andre Simoes Dias Vieira
arcus Shawcroft Subject: Re: [AArch64][PATCH 1/2] Make AES unspecs commutative Hi Andre, On 18/06/18 10:38, Andre Simoes Dias Vieira wrote: > Hi, > > This patch teaches the AArch64 backend that the AESE and AESD unspecs are > commutative (which correspond to the vaeseq_u8 and vaesdq_u8 int

Re: [AArch64][PATCH 1/2] Make AES unspecs commutative

2018-06-20 Thread Kyrill Tkachov
Hi Andre, On 18/06/18 10:38, Andre Simoes Dias Vieira wrote: Hi, This patch teaches the AArch64 backend that the AESE and AESD unspecs are commutative (which correspond to the vaeseq_u8 and vaesdq_u8 intrinsics). This improves register allocation around their corresponding instructions avoidi

Re: [AArch64][PATCH 1/2] Make AES unspecs commutative

2018-06-19 Thread James Greenhalgh
On Mon, Jun 18, 2018 at 04:38:27AM -0500, Andre Simoes Dias Vieira wrote: > Hi, > > This patch teaches the AArch64 backend that the AESE and AESD unspecs are > commutative (which correspond to the vaeseq_u8 and vaesdq_u8 intrinsics). > This improves register allocation around their corresponding i

[AArch64][PATCH 1/2] Make AES unspecs commutative

2018-06-18 Thread Andre Simoes Dias Vieira
Hi, This patch teaches the AArch64 backend that the AESE and AESD unspecs are commutative (which correspond to the vaeseq_u8 and vaesdq_u8 intrinsics). This improves register allocation around their corresponding instructions avoiding unnecessary moves. For instance, with the old patterns code